FormatFloat returns wrong value
Original Reporter info from Mantis: smace
-
Reporter name: S. Marcelo
Original Reporter info from Mantis: smace
- Reporter name: S. Marcelo
Description:
FormatFloat returns wrong value for: FormatFloat('###,###,##0.00',-10);
FPC returns: ".-10,00"
Delphi does: "-10,00"
The "." should not be there ;-)
Steps to reproduce:
Caption := FormatFloat('###,###,##0.00',-10);
Mantis conversion info:
- Mantis ID: 13076
- Build: 12632
- Version: 2.3.1
- Fixed in version: 3.0.0
- Fixed in revision: 23095 (#9804fd52)