Why not FP for Money?

Batista, Facundo FBatista at uniFON.com.ar
Wed Sep 22 17:09:48 CEST 2004


[Carlos Ribeiro]

#- a report, it's fairly easy to have the wrong sum. If I remember it
#- well, at some point Delphi's standard library could be customized to
#- choose between two or three different rounding algorithms, including
#- one called "banker's rounding", where exact half numbers would be
#- converted to the closest even number. The goal was to make sure that

Well, actually that's an issue, because the "banker's rounding" is not the
same rounding in every country.

That's why in Decimal you have a lot of roundings to choose.

.	Facundo



More information about the Python-list mailing list