With larger numbers the rounding error can be more significant so it depends on 
your tolerance for those kinds of differences. Accounting types tend to be 
picky about that kind of stuff. :-) 

One solution I've used in VFP is to change SET DECIMALS to some larger value 
such as 8 before doing the rounding as this will push the ambiguity further out 
to the right side of the decimal point. I also found out that using 
multiplication vs division  (i.e. x*.01 vs x/100) can return different results 
so I started to always use multiplication.

--

rk
-----Original Message-----
From: ProfoxTech [mailto:[email protected]] On Behalf Of Laurie Alvey
Sent: Wednesday, June 18, 2014 5:23 AM
To: [email protected]
Subject: Re: VAT Rates

Is the 4 decimal place accuracy ever a practical problem?
Laurie


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/DF1EEF11E586A64FB54A97F22A8BD044239C2AC0AE@ACKBWDDQH1.artfact.local
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to