Rounding to nearest 10c

  • Thread starter Thread starter Bob
  • Start date Start date
B

Bob

In my table I have a field TotalAmount, how do I get this to round to the
nearest 10c .....Thanks Bob








..........Jenny Vance
 
Are you trying to modify the stored value (use an update query) or just
change how it appears when displayed in a form or report (use the Format()
function).

Regards

Jeff Boyce
Microsoft Office/Access MVP
 
I want to change the value of a calculation in a text box on a form which
does go to a report...thanks Bob
 
Ras,

The Int() function concatenates the number thus will produce Round down
($12.19 to $12.10), not Round to nearest ($12.20)

To get the nearest:
v = Round(v*10, 1) / 10

Regards
Jacob
 

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