PhixFlow Help

hexToNumber



Function: hexToNumber()

Converts a hexadecimal string into its corresponding number

Syntax

hexToNumber(value)

ArgumentTypeDescription
valueStringThe value to be converted. If the hexadecimal string isn’t valid, or the string is zero-length, or null, it returns zero

Examples

hexToNumber(in.value)

Returns the number 18 where the attribute in.value contains a string "12".
Returns the number 0 where the attribute in.value contains a string "five"

See Also

Please let us know if we could improve this page feedback@phixflow.com