I have problems with format function.
If I set:
f:= -0.0002;
and then I do:
Edit1.Text:= FormatFloat('0.000', f);
Edit2.Text:= format('%.0f', [f]);
Edit3.Text:= format('%.3f', [f]);
The results I obtain are:
-0.000
-0
-0.000
While they should be:
0.000
0
0.000
I have to report a bug to mantis fpc-rtl?
andrea-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
