From 151cd6fbb4c38a7092207b1f2aab2b846b2d5f03 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Tue, 12 Apr 2005 08:10:07 +0000 Subject: [PATCH] Arrondit les moyennes --- htdocs/telephonie/script/rapport.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/telephonie/script/rapport.php b/htdocs/telephonie/script/rapport.php index 90460666e48..f2729faeef4 100644 --- a/htdocs/telephonie/script/rapport.php +++ b/htdocs/telephonie/script/rapport.php @@ -570,7 +570,7 @@ foreach ($groupes as $keygroupe => $groupe) if ($tlg_duree > 0) { - $page2->write($xx, 18, ($tlg_cout/$tlg_duree), $fmoy); + $page2->write($xx, 18, round(($tlg_cout/$tlg_duree),4), $fmoy); } else { @@ -844,7 +844,7 @@ foreach ($groupes as $keygroupe => $groupe) if ($tl_duree > 0) { - $page2->write($xx, 18, ($tl_cout/$tl_duree), $fmoy); + $page2->write($xx, 18, round(($tl_cout/$tl_duree),4), $fmoy); } else { @@ -962,7 +962,7 @@ foreach ($groupes as $keygroupe => $groupe) if ($tlg_duree > 0) { - $page2->write($xx, 18, ($tlg_cout/$tlg_duree), $fmoy); + $page2->write($xx, 18, round(($tlg_cout/$tlg_duree),4), $fmoy); } else {