Round function

S

Suresh

The round function does not round the value 00.50
In maths round function should round values from .50 and
above.
If there is another function or another way of rounding
please let me know.

Thank you.
 
A

Allen Browne

Floating point maths is always imprecise.

If you want that kind of precision, you will need to use scaled integers
instead. There is a custom rounding function in this link that converts the
value to a Variant of subtype Decimal so it can perform the scaled integer
math:
http://www.mvps.org/access/modules/mdl0054.htm
 

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

round function not work property in access 10
Excel Stop Excel from displaying rounded values 4
Round Function 5
Possible router problems 9
Round to nearest quarter 5
include rounding in a formula 2
Rounding 3
Rounding number 15

Top