? empty(25/49.88-.50) && false ? (25/49.88-.50)==0.00 && False ?100000000/(25/49.88) && 199520000.00>However, changing the decimal precision to 10 will give 0.5012028869.
base for federal tax = 500.00 round(500.00 * .05, 2) = 25.00 && federal tax base for provincial tax = 500.00 + 25.00 = 525.00 round( ( 500.00 + 25.00) * 9.5 / 100, 2) = 49.88 && provincial tax Total = 500.00 + 25.00 + 49.88 = 574.88So, if you want to reverse the process, you have to apply the steps backwards - one at a time - do not combine them - this is no algebra
Total = 574.88 (1) Base for provincial tax = round( 574.88 / 1.095, 2) = 525.00 provincial tax = 574.88 - 525.00 = 49.88 (2) base for federal tax = Base for provincial tax / 1.05 base for federal tax = round( 525.00 / 1.05, 2) = 500.00 federal tax = 525.00 - 500.00 = 25.00iow, you need two decimals since the taxes were calculated with two decimals