Decimal ROUND_HALF_EVEN Default

LordLaraby Lord.Laraby at
Tue Jan 17 02:47:46 CET 2006

If 'bankers rounding' is HALF_ROUND_EVEN, what is HALF_ROUND_UP? I
confess to never having heard the terms.
I usually do: Y = int(X + 0.5) scaled to proper # of decimal places.
Which type of rounding is this? If either.

More information about the Python-list mailing list