Syntax
hex2dec(hexadecimal string)
Description
The hex2dec() function returns the equivalent decimal number, or false if the given number is not hexadecimal.
Example
include("main")
println(hex2dec("0xFFFF"))
println(hex2dec("ff"))
65535
255