D
DevourU
I need to round up to nearest number. 3.2 is 4, 3.9 is 4. TIA folks!
-JS
-JS
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
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
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.