Convert to str first.

Cannot convert float to Decimal.
First convert the float to a string