Query - weird decimals return (1 Viewer)

Xabu

New member
Local time
Tomorrow, 00:24
Joined
Aug 30, 2005
Messages
5
I enter values into a table with 2 decimal places.

I have a query that applies percents to the values - I have set the results to have 2 decimal places.

I have another query that summarises data from the previous query, however the results I get are not right, the decimals differ from the actual result, if I make a sum of the values by hand.

It seems as if the query I have made to apply percents only DISPLAYS data with 2 decimals instead of actually rounding it, so that the other query summarises data with more than 2 decimals, and thats where the difference int the end result comes from. I don't know how to fix this however.

Can someone please help.

Thanks!
 

neileg

AWF VIP
Local time
Today, 23:24
Joined
Dec 4, 2002
Messages
5,975
You have diagnosed your own problem. Use Round() to really round the calculations.
 

Users who are viewing this thread

Top Bottom