This page goes over the type conversion functions in Upsolver.
HEX_TO_DECIMAL
Converts a hexadecimal string value to its corresponding decimal number.
input
result
"###"
null
"ff"
255
"0xff"
TO_DOUBLE
Convert a number to a double.
value
3
3.0
3.5
TO_FLOAT
Convert a number to a float.
-3.5
TO_INT
Convert a number to an integer.
-3
TO_LONG
Convert a number to a long.
TO_NUMBER
Convert to a number type.
"10"
10
"5.1"
5.1
TO_STRING
Converts any value to a string.
1
"1"
1.5
"1.5"
Last updated 5 years ago
Was this helpful?