Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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

  • No labels