[FIX] Rounding difference in clieop export lines

This commit is contained in:
Stefan Rijnhart
2013-01-11 20:42:19 +01:00
parent ea1f183085
commit baab46019f

View File

@@ -278,7 +278,7 @@ class Transaction(object):
self.transaction.transactiontype = type_
self.transaction.accountno_beneficiary = accountno_beneficiary
self.transaction.accountno_payer = accountno_payer
self.transaction.amount = int(amount * 100)
self.transaction.amount = round(amount * 100)
if reference:
self.paymentreference.paymentreference = reference
# Allow long message lines to redistribute over multiple message