J JSchade New member Local time Yesterday, 21:56 Joined Aug 15, 2012 Messages 2 Aug 15, 2012 #1 I am using a query to average but I would like this to round off to whole numbers. How do I get it to do that?
I am using a query to average but I would like this to round off to whole numbers. How do I get it to do that?
boblarson Smeghead Local time Yesterday, 18:56 Joined Jan 12, 2001 Messages 32,040 Aug 15, 2012 #2 How are you doing the Average in the query? Are you using the MyNewFieldNameHere: Avg([OriginalFieldNameHere]) or doing it in a Grouping query? If in the first you can simply use: MyNewFieldNameHere:CLng(Avg([OriginalFieldNameHere]))
How are you doing the Average in the query? Are you using the MyNewFieldNameHere: Avg([OriginalFieldNameHere]) or doing it in a Grouping query? If in the first you can simply use: MyNewFieldNameHere:CLng(Avg([OriginalFieldNameHere]))