D
DevourU
I need to round up to nearest number. 3.2 is 4, 3.9 is 4. TIA folks!
-JS
-JS
xRoachx said:As far as I know, there isnt a VBA function for this. But you can use a
worksheet function. Be sure to include a reference to the Excel Object
library. To use use the Roundup function from Excel, try:
WorksheetFunction.Roundup (YourField,0)
Lynn Trapp said:Round([SomeNumberField] + .49999999) will always round up to the next
number.
--
Lynn Trapp
MS Access MVP
www.ltcomputerdesigns.com
Access Security: www.ltcomputerdesigns.com/Security.htm
Jeff Conrad's Access Junkie List:
http://home.bendbroadband.com/conradsystems/accessjunkie.html
DevourU said:I need to round up to nearest number. 3.2 is 4, 3.9 is 4. TIA folks!
-JS
Van said:You can use:
- Int( - [YourNumber] )
e.g.:
?-Int(-3.2)
4