Fix: Wrong rounding

This commit is contained in:
Laurent Destailleur 2010-06-02 10:58:05 +00:00
parent 0dc9a79c6a
commit e02367ea7a

View File

@ -421,7 +421,7 @@ if ($resql)
print '<td align="right">'.price(price2num($obj->pmp*$obj->reel,'MT')).'</td>';
print '</tr>'; ;
$total = $total + $obj->reel;
$totalvalue = $totalvalue + price2num($obj->pmp,'MT')*$obj->reel;
$totalvalue = $totalvalue + price2num($obj->pmp*$obj->reel,'MT');
$i++;
$var=!$var;
}