On 5/3/2011 8:22 AM, Olin Lathrop wrote: > 'William Chops" Westfield ' =20 >> IIRC, COBOL has BCD data types. Or a decimal data type usually >> implemented as BCD. Or something. It allows the language to do >> "exact" operations on quantities of money, where the business types >> apparently don't trust the vague inexactness of floating point. >> =20 > That's a argument for integer versus floating point, not for a BCD > representation of that integer in particular. What you really need is ex= tra > wide integer support. 32 bits is not enough dynamic range when in units = of > cents. > > > =20 Aren't there 8 bits in a dollar? --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .