Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Currency Field Type
Message
From
20/05/2004 23:28:00
 
 
To
20/05/2004 22:46:03
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00905874
Message ID:
00905898
Views:
18
>>Great info!
>>I'll be using the field for currency (ex GST values) which require 3 decimal places to be sufficiently accurate under Australia law. It certainly saves some space in the tables compared to N(13,3).
>
>I am curious, how many decimals do you use in normal situations?
>
We use 3 dec for ex tax calcs and 2 for inc tax figures. We get no rounding problems at the moment. We have to calculate GST (currently 10%) on each line item to "maximum precision" and then round at the invoice total level to state a total GST. That's the tax dept rules.
With the type of problem you reminded me of we'll have to be careful to check that our reports are still accurate. The accounts people hate losing one or two cents here or there :-).
But in essence we SHOULD be more accurate with 4 decimals than 3 provided we are only doing add-ups and subtractions. Most other maths involving $$ usually is with integers such as Quantity.
If this works out well we extend the usage to our many other tables involved in "currency"
Previous
Reply
Map
View

Click here to load this message in the networking platform