StrToFloat

Description

Returns the float value of the specified string. Returns zero (0) for a space or blank string.

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

Syntax

StrToFloat(String: String): Float 

String is the string value on which to perform the function.

Example

StrToFloat(11.101)

The return value is 11.101.