In special cases, TDbf show numbers in scientific notation in TDBGrid
Original Reporter info from Mantis: clauslack
-
Reporter name: Claudio Romero
Original Reporter info from Mantis: clauslack
- Reporter name: Claudio Romero
Description:
TDBgrid shows for Numeric(11,2) field in Dbf.
454.10 is shown as 4.5E2
169.95 is shown as 1.7E2
-999.48 is shown as -1E3
1000 is shown as 1E3
10000 is shown as 1E4
etc
But for field Numeric(11,4)
454.10 show fine
169.95 is shown as 169.9
1000 show fine
-999.48 is shown as -999.4
10000 is shown as 1E4
100000 is shown as 1E5
Thanks.
Additional information:
Tested in
Windows Lazarus 0.9.27 fpc 2.2.3
Linux Lazarus 0.9.27 fpc 2.2.2
Mantis conversion info:
- Mantis ID: 12928
- Version: 2.2.3
- Fixed in version: 2.6.0
- Fixed in revision: 18035 (#09761151)
- Monitored by: » Joost (Joost van der Sluis)