Round to 2 decimal places (1 Viewer)

accessfever

Registered User.
Local time
Today, 09:36
Joined
Feb 7, 2010
Messages
101
Hi, I have about ten append queries to group various financial data to one main table. I have used the round function (iff (Round(Nz([FIN_data]),2)) in the queries to round the original data into 2 decimal places but there is still one or two lines exceeding 2 decimal places. What is the better approach to have only 2 decimal places for all append data? Any help will be appreciated.
 

jdraw

Super Moderator
Staff member
Local time
Today, 12:36
Joined
Jan 23, 2006
Messages
15,394
You could always use Currency or Double.

or see this
 

Simon_MT

Registered User.
Local time
Today, 17:36
Joined
Feb 26, 2007
Messages
2,177
Or Int(A x 100)/100

Simon
 

accessfever

Registered User.
Local time
Today, 09:36
Joined
Feb 7, 2010
Messages
101
Thanks all for your adivses. I used both ways and now my data is down to 2 decimal places.
 

pr2-eugin

Super Moderator
Local time
Today, 17:36
Joined
Nov 30, 2011
Messages
8,494
Or you can use FormatCurrency.
Code:
? FormatCurrency(12.568788, 2)
£12.57
 

Users who are viewing this thread

Top Bottom