atof


(atof  numberString)

This function converts the numberString into a double number.

Arguments

numberString  a string representing any number

Return

double value, or 0.0 if numberString is not a valid number

Example

(atof "12")
12.0
(atof "12.34")
12.34
(atof "xyz")
0.0

Remarks




©  Bricsys NV. All rights reserved.