Hello. I'm using Delphi 6.
The database field type is a single with precision of 7. The DataSet recognizes it as a float field with a default precision of 15. The DBGrid shows the values with a precision of 15.
For example, the value of ".2" shows in the DBGrid as "0.200000002980232".
Can I fix this at runtime (I need to use dynamic field components only)? Thanks.
The database field type is a single with precision of 7. The DataSet recognizes it as a float field with a default precision of 15. The DBGrid shows the values with a precision of 15.
For example, the value of ".2" shows in the DBGrid as "0.200000002980232".
Can I fix this at runtime (I need to use dynamic field components only)? Thanks.