// Wrapper function for round()
function zen_round($number, $precision) {
/// fix rounding error on GVs etc.
$number = round($number / 5, $precision) * 5;
return $number;
}
I have done the above to /includes/functions/functions_general.php
and it shows correctly in my website.
However, the invoice at admin>order is showing without rounding off.
I then add the above to the file myadmin/includes/functions/functions_general.php, the Price (inc) is showing with round off but Price (ex) is not.
FYI I don't set tax for my products.
Please advise.
Bookmarks