From f966003598a0c9486abd967e32868e00a6d36ca6 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Fri, 2 Dec 2005 13:26:19 +0000 Subject: [PATCH] =?UTF-8?q?Ajout=E9=20round?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/telephonie/communication.class.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/htdocs/telephonie/communication.class.php b/htdocs/telephonie/communication.class.php index 4e8cc3638af..1c48cd8166c 100644 --- a/htdocs/telephonie/communication.class.php +++ b/htdocs/telephonie/communication.class.php @@ -142,9 +142,8 @@ class CommunicationTelephonique { $this->cout_vente = ( ($this->duree * $this->cout_temp_vente / 60)); $this->cout_vente = ( $this->cout_vente * ( 1 - ($this->remise / 100))); - - $this->cout_vente = $this->cout_vente + $this->cout_fixe_vente; - + /* Ajouté round le 2/12/05 */ + $this->cout_vente = round(($this->cout_vente + $this->cout_fixe_vente), 3); } else {