roundup

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Dear All,
I am not a programmer, but try to use Access my using macros only. my doubt
is, is there any function/command which i can use in access macros - same
like the Excel function of Roundup(). The reason is if i have a value as
1.454 i want this to be rounded up as 1.46. Could anyone please guid me.

Thanks..john britto
 
Hi, John.

No, there's no function AFAIK that does what you're asking, but you can
easily create it. Assuming you want to set a form or report control equal to
the rounded up value of another control, it would be something like:

=IIf([Ctl1]>Round([Ctl1],2),Round([Ctl1],2)+0.01,Round([Ctl1],2))

Hope that helps.
Sprinks
 

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

Back
Top