Skip to content

Convert value to CVarArg type #42

@nc163

Description

@nc163

The following code produced a cast error

let val: UInt128 = UInt128.max
String.init(format: "0x%0X", val as! CVarArg ) 

Do you have any advice on how to solve this problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions