jasonc Posted July 5, 2011 Share Posted July 5, 2011 I have an original price column and the new price column and wish to know how to ADD 3.4% to the new column. can anyone suggest the formular for this ? Link to comment https://forums.phpfreaks.com/topic/241138-what-would-be-the-formular-to-add-34/ Share on other sites More sharing options...
EdwinPaul Posted July 5, 2011 Share Posted July 5, 2011 I have an original price column and the new price column and wish to know how to ADD 3.4% to the new column. can anyone suggest the formular for this ? $a=150; $b=$a*1.034; Link to comment https://forums.phpfreaks.com/topic/241138-what-would-be-the-formular-to-add-34/#findComment-1238611 Share on other sites More sharing options...
jasonc Posted July 6, 2011 Author Share Posted July 6, 2011 ok thank you, now how do i add 20%, and also how do i take away 20% Link to comment https://forums.phpfreaks.com/topic/241138-what-would-be-the-formular-to-add-34/#findComment-1238870 Share on other sites More sharing options...
cssfreakie Posted July 6, 2011 Share Posted July 6, 2011 ok thank you, now how do i add 20%, and also how do i take away 20% seriously? please sue your teacher x*1.2 x*0.8 Link to comment https://forums.phpfreaks.com/topic/241138-what-would-be-the-formular-to-add-34/#findComment-1238872 Share on other sites More sharing options...
Zane Posted July 6, 2011 Share Posted July 6, 2011 .20 stands for 20 out of 100 or 20/100 or 2 tenths or 2/10. This is exactly what the percentage sign is for in mathematics, to create a shorthand for x out of 100. Now that I have explained that explain how to take something more trivial and turn it into a decimal number. Suppose you have 47.5%. In order to put that into a decimal number, one needs to divide by 100.. or even better, move the decimal place 2 spaces to the left. The 2 spaces represent the 2 zeroes in 100. Once you have this decimal number, which is .475, it can be used to find 47.5% of something. Lemme back up even more. 1 X 1 = 1 ... right? So we want 50% of 1, which is .5, the equation would be 1 X .5 = .5 Why? Because anything times 1 equals itself. Ok, so now lets say you want to add 50% to 1. Well, we already know that 100% of 1 is 1, so we need to know what 150% would be. Now if you move the decimal place in that 2 times, which is at the end by the way, we get 1.5 Then the equation turns out to be 1 X 1.5 = 1.5 But since it's multiplied by 1, again, we end up with the same number. To mix it up a little, let's say we had 75 dollars and we wanted to add 20% to it. Since we want to ADD to the 75, we have the same dilemma as the 150% example. Instead, this time, we're wanting 120%, because we KNOW 100% of 75 is 75 The equation would then be 75 X 1.20 = 90 Link to comment https://forums.phpfreaks.com/topic/241138-what-would-be-the-formular-to-add-34/#findComment-1238874 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.