Search found 2 matches
- 04.08.2006, 21:37
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: Wrong field mapping - Numeric -> Float
- Replies: 3
- Views: 1569
Wrong field mapping - Numeric -> Float
This would be the proper behaviour for Postgres Numeric fields, as described in Delphi TBCDField: ... BCD values provide greater precision and accuracy than floating-point numbers. BCD fields are often used for storing and manipulating monetary values. The IDE uses two different field types for repr...
- 02.08.2006, 22:15
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: Wrong field mapping - Numeric -> Float
- Replies: 3
- Views: 1569
Wrong field mapping - Numeric -> Float
I checked the xxxxUtils, especially the Postgres one, and I found that it is treating Numeric and other field types that postgres return as Float, which is wrong. The correct mapping should be BDC or FMTBCD according to the precision and size. (Currency is also an option of the final TField). I noti...