CInt

M

mo

Does anyone whether CInt rounds up/down or to the nearest integer? Also is
it possible to make round to the lowest integer value?

TIA
 
S

Sandra Daigle

From the help file: "CInt and CLng always round it to the nearest even
number. For example, 0.5 rounds to 0, and 1.5 rounds to 2."

To round down to the lowest integer value you would use Fix or Int. The
difference between the two is in how they handle negatives. Check the Access
help for details.
 

Ask a Question

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.

Ask a Question

Top