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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Rounding values up instead of down

Status
Not open for further replies.

vamoose

Programmer
Oct 16, 2005
320
MX
Using Access 2003 and if FourXSix = 10 using this equation:

White4X6 = Int(FourXSix / 3)

then White4X6 would = 3

I would like to round this number up to the next whole number as in 4. Any ideas please, thank you.
 
Perhaps:

FourXSix =10
White4X6 = Iif(FourXSix/3>FourXSix\3,FourXSix\3+1,FourXSix \3)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top