"Shane Geiger" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]


a buggy hack (copying your top post style)

>>> D(123456789.123456789)
Decimal("123456789.123")

Or what there an unwritten :-)?

| D = lambda x: decimal.Decimal(str(x))
|
| >> D(3.2)
| Decimal("3.2")



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to