Fix rounding price

This commit is contained in:
Laurent Destailleur 2022-01-29 16:47:29 +01:00
parent 23eda44ba7
commit 87f05067ca

View File

@ -675,7 +675,7 @@ if ($sql_select) {
print '<td colspan="3"></td>';
print '<td class="right">'.$total_qty.'</td>';
print '<td class="right">'.price($total_ht).'</td>';
print '<td class="right">'.price($total_ht / (empty($total_qty) ? 1 : $total_qty)).'</td>';
print '<td class="right">'.price(price2num($total_ht / (empty($total_qty) ? 1 : $total_qty), 'MU')).'</td>';
print "</table>";
print '</div>';