Rounding Issue - repost

M

MDB

Sorry for the muli post (originally posted in
microsoft.public.dotnet.framework)


I ran into a problem with rounding and was wondering if anyone knows of a
work around with out manually rounding numbers. Math.Round doesn't seem to
use the standard in rounding (at least what I have always been taught). For
example math.round would round .925 as .92 however, I have always rounded
and been taught that .925 should be rounded as .93. Are all my years of
math classes wrong or is Microsoft using a new way to round numbers because
I just found out that using math.round to calculate taxes can now be a penny
off from are main non .net application which does our reporting.
 

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

Top