lexington
04-30-2009, 05:40 AM
Wow, I thought this would be extremely easy, but I am trying to do something different than what just about every php percentage example on the net offers. Every example I have searched for only displays the percent from a total. I want to know the total after the percentage is applied. I know how to do this on the calculator but do not know how to do it with php. So like if the value is 2296 at 26%, the result should be 596.96 (2296 X 26% = 596.96). I am using this to calculate taxes. Could you please provide me with a working example that will display the amount? I bet it is easy, and since I haven't been to sleep yet my brain is dead now. Thanks.
