If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Rounding question
Hello,
I have created a report that calculates how many shipping pallets is needed for a particular shipment. I need the result to always round up. Currently, if the result is 1.1 it rounds to 1... But I need it to always round up, in this case to 2. Any suggestions on how to do this? Many thanks! Helen |
#2
|
|||
|
|||
Rounding question
The Int() function rounds down, so you can round up by negating the result,
using Int() and then negating again. Try: = - Int( - [your calculation here]) -- Allen Browne - Microsoft MVP. Perth, Western Australia. Tips for Access users - http://allenbrowne.com/tips.html Reply to group, rather than allenbrowne at mvps dot org. "Helen" wrote in message ... I have created a report that calculates how many shipping pallets is needed for a particular shipment. I need the result to always round up. Currently, if the result is 1.1 it rounds to 1... But I need it to always round up, in this case to 2. Any suggestions on how to do this? Many thanks! Helen |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Question about reducing number of tables in a database | tlyczko | Database Design | 0 | October 27th, 2005 04:15 PM |
Rounding Data Question | sheabones | Worksheet Functions | 1 | September 29th, 2005 08:20 PM |
Search my question lost in the long list | Shrikant | General Discussion | 3 | August 26th, 2005 09:32 AM |
How to gray-out a question dialog box | S_Kaplan | General Discussion | 3 | October 26th, 2004 12:11 AM |
Designing a question paper | Ken | New Users | 2 | April 28th, 2004 10:13 PM |