in reply to Re: Re: Re: strange rounding behaviour
in thread strange rounding behaviour
And, yes, you are correct, it doesn't round. I wasn't giving a whole block of code to use, just a quick bit to give an example on how it would be done.
I used to do this all the time, about 15 years ago, when most computers did not have FPU's, and were much more inaccurate.
|
|---|