diff --git a/htdocs/paiement.class.php b/htdocs/paiement.class.php index 10c74948f2d..8f1adfac24c 100644 --- a/htdocs/paiement.class.php +++ b/htdocs/paiement.class.php @@ -120,10 +120,10 @@ class Paiement $error = 0; // Nettoyage parametres - $value = price2num($value); $this->total = 0; foreach ($this->amounts as $key => $value) { + $value = price2num($value); $val = round($value, 2); $this->amounts[$key] = $val; $this->total += $val;