Icon StrToDouble

Unit: Internal

Available In: Client and Server Applications

function StrToDouble(const Value: String): Double

The StrToDouble function converts the formatted string input parameter into its native value. The decimal separator used in the formatted string is always required to be a period (.). The return value is a Double value.

Examples

A := StrToDouble('1200.548');  // X is 1200.548
Image