Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Rounding in access 97

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
If I want to use the round function in excel in access i.e round (A1,2). What is the equivalent in Access? there is rnd but that dosen't seem to let you specify decimal places. Thanks.
 
Try the Format() function- but be advised that it returns a string-type Variant [which may or may not matter to what you're doing].
 
To be absolutely certain that you get the correct rounding you need to use the int function. If you want to round to two places the syntax is Int(Yournumber*100)/100.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top