Merged changes in main trunk up to 2.0.6 (see CHANGELOG)
[fa-stable.git] / sales / view / view_dispatch.php
index 3d7d2e75253d70b0febbd844408e92b6a797f229..9bd01beb5927e08d8b0f74c465609bb14fe81d55 100644 (file)
@@ -111,7 +111,7 @@ if (db_num_rows($result) > 0)
                if($myrow2['quantity']==0) continue;
                alt_table_row_color($k);
 
-               $value = round(((1 - $myrow2["discount_percent"]) * $myrow2["unit_price"] * $myrow2["quantity"]),
+               $value = round2(((1 - $myrow2["discount_percent"]) * $myrow2["unit_price"] * $myrow2["quantity"]),
                   user_price_dec());
                $sub_total += $value;