04-27-2022, 09:52 AM
Thanks for your sample. But it doesn't work either!
It is not possible to enter a comma; even if DecimalChar is specified as a comma!
Find attached a corresponding screenshot.
So the left fields of your sample was entered with point instead of comma; the result after exit the fields is definitely wrong.
The right fields are defined as text and filled with
- IWEdit3.Text:=FormatFloat( '#,##0.00', 8888.76);
- IWEdit4.Text:=FormatFloat('NZD #,##0.00', 5456.99);
and show the expected and correct result.
Am I wrong in my opinion?
It is not possible to enter a comma; even if DecimalChar is specified as a comma!
Find attached a corresponding screenshot.
So the left fields of your sample was entered with point instead of comma; the result after exit the fields is definitely wrong.
The right fields are defined as text and filled with
- IWEdit3.Text:=FormatFloat( '#,##0.00', 8888.76);
- IWEdit4.Text:=FormatFloat('NZD #,##0.00', 5456.99);
and show the expected and correct result.
Am I wrong in my opinion?
The way to success is always under construction ... but i see a light at the end of the tunnel

