atof

(atof string)

The function atof (ASCII to Float) converts a given string to a floating-point number.

Examples

: (atof "32.1")

32.1000

: (atof "12")

12.0000

: (atof "55abcde")

55.0000

: (atof "abcde")

0.0000