Converts a numeric string or integer value to a floating-point number.

FltValue := Float(Value)

Return Value

Type: Float

This function returns the result of converting Value to a pure floating-point number (having the type name "Float"), or Value itself if it is already the correct type.


If the value cannot be converted, an exception is thrown.

To determine if a value can be converted to a floating-point number, use the IsNumber function.


Type, Integer, String, Values, Expressions, Is functions