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.
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.