Money data type
Ian Maurer
ian_maurer at yahoo.com
Wed Sep 17 16:19:41 EDT 2003
Check out this project:
http://fixedpoint.sourceforge.net/
Good Luck!
- Ian
--- "Batista, Facundo" <FBatista at uniFON.com.ar> wrote:
> Can't find it.
>
> I mean something like:
>
> >> m1 = Money(decimal=2)
> >> m2 = Money(decimal=2)
> >> m1.value = 3.20
> >> m2.value = 2.15
> >> print m1 + m2
> 5.35
>
> 5.35! Not 5.3500000000000001 neither 5.34999999999999999999.
>
> I think this is not a rare thing, but I can't find it in the
> standar library
> neither the package index.
>
> Thanks!
>
> . Facundo
>
> --
> http://mail.python.org/mailman/listinfo/python-list
___________________________________________________
Yahoo! Messenger - Nueva versión GRATIS
Super Webcam, voz, caritas animadas, y más...
http://messenger.yahoo.es
More information about the Python-list
mailing list