diff --git a/htdocs/fourn/class/paiementfourn.class.php b/htdocs/fourn/class/paiementfourn.class.php index 98876ab2519..5326bbde85e 100644 --- a/htdocs/fourn/class/paiementfourn.class.php +++ b/htdocs/fourn/class/paiementfourn.class.php @@ -128,10 +128,9 @@ class PaiementFourn extends Paiement $this->total = 0; foreach ($this->amounts as $key => $value) { - $value = price2num($value); - $val = round($value, 2); - $this->amounts[$key] = $val; - $this->total += $val; + $newvalue = price2num($value, 'MT'); + $this->amounts[$key] = $newvalue; + $this->total += $newvalue; } $this->total = price2num($this->total);