tofloat — Converts a value to a floating point number.
float tofloat (
)
VALUE
If the value can't be converted to a float, nilfloat is returned.
tofloat (4) -> 4.0 tofloat ("42") -> 42.0 tofloat ("3.14") -> 3.14