Number
The return type is expected to be a floating-point number. Arcade will convert the return type to a float64 via the following transformations:
booleans return 1 if true, 0 otherwise.
integral types are converted to float64. This may be a narrowing conversion.
float64 values are returned unchanged.
null is converted to 0.
strings are parsed as float64.
all other types are converted to NaN.
Since
200.1.0