In article <[EMAIL PROTECTED]>, Frank Millman <[EMAIL PROTECTED]> wrote: > >My approach is based on expressing a decimal number as a combination >of an integer and a scale, where scale means the number of digits to >the right of the decimal point.
You should probably use one written by an expert: http://www.pythoncraft.com/FixedPoint.py -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "as long as we like the same operating system, things are cool." --piranha -- http://mail.python.org/mailman/listinfo/python-list