Zen Follower
- Join Date:
- Mar 2010
- Location:
- Finland
- Posts:
- 465
- Plugin Contributions:
- 0
Correct price for a quantity of products
Is there any way to make sure that e.g. 10 pcs of a products that "seems" to cost 1.25 (reality 1.2534) becomes 12.50 and NOT 12.53.
By introducing zen_round() to the function zen_add_tax($price, $tax) I get the shopping cart ok, but subtotal and thereby total still hangs (erroneously) on to the decimals.... I use 1.3.9h