Skip to content

parse::hex

hex(str: String)

ParameterTypeDescription
strStringA string representation of a hexadecimal number.

Returns

(*) The equivalent decimal integer of the given hexadecimal value, or null if given an invalid value.