Saaspire/sharpy — Issue #10: TypeError
Author: jaivikram
Created: 2011-12-17 07:13:53+00:00
State: open

I was running the included tests and got

File "/code/appenv/src/sharpy/sharpy/product.py", line 477, in charge
each_amount = Decimal(each_amount)
File "/usr/lib/python2.6/decimal.py", line 649, in __new__
"First convert the float to a string")
TypeError: Cannot convert float to Decimal. First convert the float to a string