jwcolby
jwcolby at colbyconsulting.com
Thu Dec 22 14:54:08 CST 2011
It is also standard practice to use a datatype appropriate for currency. That is why currency data types exist. It is also standard practice in banking to round 1/2 of the numbers up and the other down. But that is a discussion for another day. ;) John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 12/22/2011 3:42 PM, Stuart McLachlan wrote: > It depends on the situation. > > If you are rounding prices to the nearest 10c, accountants don't like accounts that show : > > Item 1 0.60 > Item 2 0.60 > ============ > Total 1.10 > > If you want the total to equal the sum of all of the line items, you need to round each item > (using either ROUND() or FORMAT(). and sum the rounded result. That is standard > practice in accounting. >