prePEP: Money data type

Batista, Facundo FBatista at uniFON.com.ar
Mon Oct 20 16:57:27 EDT 2003


#- Alex Martelli wrote:
#- Excellent.  You can also provide a .divideBy(N) method that returns
#- an N-items list, distributing the excess pennies (or whatever units);
#- an URL by Martin Fowler that was quoted on the thread shows that.

Very interesting (and useful). Adding to the PEP.

.	Facundo





More information about the Python-list mailing list