At 05:32 PM 3/17/2007 +0000, Mark Dootson wrote:
>If you are using floating point arithmetic, you want unbiased rounding,
>'even' if you don't realise that this is good for you.

That's all good for rounding intermediate numbers in a calculation but the
OP was trying to round for display.  In this case whatever rounding function
u use has to output a string consistent with human rounding principles.
Floating point numbers that a machine uses internally have no real relation
to the real numbers that humans use.  And the conversion is lossy.




--
REMEMBER THE WORLD TRADE CENTER         ---=< WTC 911 >=--
"...ne cede malis"

00000100

_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to