Access Function like Excel Mround function?

F

Faye

I need to round either up or down to the nearest quarter. Is there a
function in access that works like Mround in excel where I can pass it the
number and .25? Thanks for any insight!
 
J

John W. Vinson

I need to round either up or down to the nearest quarter. Is there a
function in access that works like Mround in excel where I can pass it the
number and .25? Thanks for any insight!

Not builtin but you can work out your own:

Round([number]*4, 0)/4.

should do it.
 
F

Faye

Thanks Karl...that worked perfectly!

KARL DEWEY said:
Try this --
To the quarter: Int(4*[Cost]+0.5)/4


Faye said:
I need to round either up or down to the nearest quarter. Is there a
function in access that works like Mround in excel where I can pass it the
number and .25? Thanks for any insight!
 

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

Similar Threads

MROUND 4
Need to know how to enter an expression using the mround function 1
Round Function 5
MROUND 3
Rounding 5
MROUND and negative/positive numbers 4
Round Down to the nearest multiple 2
MRound 7

Top