I have a problem with a thousand separator.I want to add a thousand separator and a decimal separator in a float value,for example 1000 will be 1.000,00.The decimal separator it works but the thousand separator it doesn't. So i try to work with FormatSettings.Here is my code for example
workSettings := TFormatSettings.Create;
workSettings.ThousandSeparator := '.';
workSettings.DecimalSeparator:= ',';
if (TryStrToFloat(e_pret.Text,articleInfo.Pret)) then begin
articleInfo.Pret := StrToFloat(e_pret.Text,wokSettings);
end;
Thanks