[Tutor] Class/Module to do fixed decimal arithmatic

Kent Johnson kent_johnson at skillsoft.com
Mon Aug 30 12:07:24 CEST 2004


This blog entry points to two: 
http://byandlarge.net/scuttlebutt/archives/000045.html
Kent

At 10:17 PM 8/29/2004 -0700, Bill Campbell wrote:
>Is there a Module that supports fixed decimal arithmatic, that is a numeric
>class that is suitable for accounting applications where money amounts can
>be maintained without the rounding problems associated with floating point
>numbers?  In the general case it could be a class where the scale factor
>(numbers to the right of the decimal) would be an attribute of the class,
>and might be used in conjunction with the metadata from SQL databases such
>as mysql postgresql.
>
>Bill
>--
>INTERNET:   bill at Celestial.COM  Bill Campbell; Celestial Software LLC
>UUCP:               camco!bill  PO Box 820; 6641 E. Mercer Way
>FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
>URL: http://www.celestial.com/
>
>``Things in our country run in spite of government.  Not by aid of it!''
>     Will Rogers
>_______________________________________________
>Tutor maillist  -  Tutor at python.org
>http://mail.python.org/mailman/listinfo/tutor



More information about the Tutor mailing list