I\'m wondering if I found an issue with the rounding in PHP, specifically 5.2.3 (I\'m not sure about other versions at the moment):
$t = 0; $taxAmount = (5.
Python says:
>>> repr(5./100*0.7) '0.034999999999999996'
This is due to IEEE754 accuracy limitations. Use a fixed-point type if you need exact accuracy.