Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to format a currency fields ?
Message
From
06/12/1999 14:36:46
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00294286
Message ID:
00299311
Views:
26
>Dragan,
>
>Just to summarize the issue we are both talking about, when rounding decimal numbers is necessary you should carry all the decimals through the entire calculation and only round the final result.

Sure Jim, that's what both theory and practice say.

Though, with accountants it sometimes goes slightly different - they'll try to check your calculations with pocket calculators, and do the rounding as they go... so I had to do the rounding as they did (the customer being always right). But then, there's a rule of thumb for such a calculation: round it once, store the rounded result, and use it as it is, never rounding it again. I had to learn this the hard way - and as they say, "if you want to do something wrong, do it right".

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform