Convertor
public struct Convertor
Converts between values.
-
Converts the specified hexadecimal string to integer.
Declaration
Swift
public static func fromHexToDec(_ s: String) -> Int?Parameters
sThe string that represents the hexadecimal number.
Return Value
Integer that corrsponds to the specified hexadecimal number.
Convertor Structure Reference