StrToFloat

Description

Returns the floating-point value of the specified string.

Note:

A space or empty string is treated as a 0 (zero).

If the specified string does not represent a floating point number, an error is returned.

Syntax

StrToFloat(AString: String): Float 

Example

StrToFloat(11.101)

The return value is 11.101.