diff --git a/C4/Overdues.pm b/C4/Overdues.pm index 8483a35d4c..5fa68631e2 100644 --- a/C4/Overdues.pm +++ b/C4/Overdues.pm @@ -568,7 +568,7 @@ sub UpdateFine { } if ( $accountline ) { - if ( $accountline->amount != $amount ) { + if ( Koha::Number::Price->new($accountline->amount)->round != Koha::Number::Price->new($amount)->round ) { $accountline->adjust( { amount => $amount,