how to convert from Decimal('1.23456789') to Decimal('1.234')

valpa valpassing at gmail.com
Mon Mar 23 02:40:38 EDT 2009


I only need the 3 digits after '.'

Is there any way other than converting from/to string?



More information about the Python-list mailing list