Arrondit les moyennes
This commit is contained in:
parent
619f10ddff
commit
151cd6fbb4
@ -570,7 +570,7 @@ foreach ($groupes as $keygroupe => $groupe)
|
|||||||
|
|
||||||
if ($tlg_duree > 0)
|
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
|
else
|
||||||
{
|
{
|
||||||
@ -844,7 +844,7 @@ foreach ($groupes as $keygroupe => $groupe)
|
|||||||
|
|
||||||
if ($tl_duree > 0)
|
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
|
else
|
||||||
{
|
{
|
||||||
@ -962,7 +962,7 @@ foreach ($groupes as $keygroupe => $groupe)
|
|||||||
|
|
||||||
if ($tlg_duree > 0)
|
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
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user