Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.



Excerpt
hiddentrue

hexToNumber(value) Converts a hexadecimal string into its corresponding number.


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 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

...