Python de reboque-zeros-de-derrota-de-decimal

>>> s = str(Decimal('1500'))
>>> print s.rstrip('0').rstrip('.') if '.' in s else s
1500
Busy Boar