fromHex
Description
Returns an integer value of the hex formatted string argument . Numbers outside of the range (-2 31 ) - (2 31 -1), and strings that are not hex numbers, return null.
Syntax
fromHex( string )
Examples
fromHex(
"ff"
)
//return 255
fromHex(
"0xff"
)
//returns 255
fromHex(
"-ff"
)
//returns -255