float.parse Function |
The float.parse function converts a given expression to a floating-point numeral.
float.parse(expr);
expr | Required. An expression to convert to a floating-point numeral |
A floating-point numeral.
PRINT float.parse("3.1416"); /* 3.1416 */ PRINT float.parse(1.414); /* 1.414 */ PRINT float.parse(3); /* 3 */