Topic: Digits After Decimal Piont
how to avoid extra digits in calculation method ???? see in snapshot
My Visual Database → General → Digits After Decimal Piont
how to avoid extra digits in calculation method ???? see in snapshot
Hi,
I think the easiest way is either
1. change the object properties of the edit field to 'currency' and an 'accuracy' of 2 or 3 decimal places, depending on how accurate you want it (please see the attached example and screenshot);
2. initially define 'liters' in your data structure as currency to 2 or 3 decimal places.
Which way you choose depends on what best suits your application.
In both instances, it's important to remember that 'currency' is not actually a data type; it is simply a 'real' data type with some formatting applied to it - the underlying data type ('real') doesn't get changed.
Derek.
My Visual Database → General → Digits After Decimal Piont
Powered by PunBB, supported by Informer Technologies, Inc.
Theme Hydrogen by Kushi