CSingle
Result = CSingle ( Expression AS Variant ) AS Single
Converts an expression into a
Single floating point number.
Be careful! The current localization is not used by this function.
Errors
Examples
PRINT CSingle("+3.1416")
PRINT CSingle("1.0E+3")
PRINT CSingle(Pi);; CFloat(Pi)
3.141592741013 3.14159265359
PRINT CSingle(1E50)
See also