FormatSettingsis a global variable. It can be changed anywhere, and all code that uses it will be affected.
TFormatSettings , FormatSettings . , , - , , .
, , , , .
var
MyFormat: TFormatSettings;
MyFormat := TFormatSettings.Create;
MyFormat.DecimalSeparator:='.';
MyFormat.ThousandSeparator:=' ';
.
, FormatSettings, , , - FormatSettings , .
StrToFloat , .
function StrToFloat(const S: string; const AFormatSettings: TFormatSettings): Extended;