Fix "WRONG DATA CONVERSION" error

round "amount" so it's no longer a float