The StrToFloat function converts the formatted string input parameter into its native value. The decimal separator used in the formatted string is determined by the TFormatSettingsDecimalSeparator property. The return value is a Double value.
Examples
A := StrToFloat('1200.548');
X := FloatToStr(A); // X is '1200.548'