Query - weird decimals return

Xabu

New member
Local time
Today, 09:38
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!
 
You have diagnosed your own problem. Use Round() to really round the calculations.
 

Users who are viewing this thread

Back
Top Bottom