This expression will round up your number
-Int(-[TheField])
It works very well with positive numbers, with negative numbers the results
are rounded up, however that means to the integer to the left on the number
line. -25.1 is rounded up to -25 not -26 BECAUSE -25 is larger than -25.1
If you need to round negative numbers to a higher absolute value then you can
use the more complex expression below (-25.1 will go to -26 and +25.1 will go
to +26).
-Int(-abs(x)) * sgn(Nz(x,0))
John Spencer
Access MVP 2002-2005, 2007-2009
The Hilltop Institute
University of Maryland Baltimore County
I have a field called Weight. I want to round the decimals to the next whole
number. For instance:
1.1 thru 1.9 should round to 2
2.1 thru 2.9 should round to 3.
Any ideas?