hot to get actual value when we have inc tax value and percent ?


Inc tax amount = 999
Tax  = 12.5%
Actual value = x
1.      
X+(12.5)/100 =999
2.      
100x+12.5x/100 =999
3.      
112.5x = 99900
4.      
X = 99900/112.5
5.      
X = 888
Your actual value = 888
Your tax = 999-888 = 111
Short  900*100/(12.5+100)=888
by ankit and abhay
Puneet Kumar Magento Developer