Pascal Scripting: StrToFloat

Prototype

function StrToFloat(S: String): Extended;

Description

The StrToFloat function converts the string passed in S into a floating point number. The character used for the decimal point should always be a dot. Raises an exception if not successful.