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