Skip to content
Snippets Groups Projects
Commit e02367ea authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: Wrong rounding

parent 0dc9a79c
No related branches found
No related tags found
No related merge requests found
...@@ -421,7 +421,7 @@ if ($resql) ...@@ -421,7 +421,7 @@ if ($resql)
print '<td align="right">'.price(price2num($obj->pmp*$obj->reel,'MT')).'</td>'; print '<td align="right">'.price(price2num($obj->pmp*$obj->reel,'MT')).'</td>';
print '</tr>'; ; print '</tr>'; ;
$total = $total + $obj->reel; $total = $total + $obj->reel;
$totalvalue = $totalvalue + price2num($obj->pmp,'MT')*$obj->reel; $totalvalue = $totalvalue + price2num($obj->pmp*$obj->reel,'MT');
$i++; $i++;
$var=!$var; $var=!$var;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment