Allen Browne wrote:
I need to round a dollar amount the to the next
greater $100.00, (example $18,770.07 needs to be round up to
$18,800.00).
Try dividing by 1000, converting to integer, multiplying by 1000, and
converting back to currency:
CCur(1000 * CInt(Nz([Field1],0)/1000))
This is not quite what was asked for e.g. $18,440.04 and -$18,770.07
both get rounded down rather than up.
Take a look at this KB article:
How To Implement Custom Rounding Procedures
http://support.microsoft.com/default.aspx?scid=kb;en-us;196652
There is some detail about the different rounding algorithms used in MS
products.
Jamie.