i dont know how to use % at all because i didnt reached it in my math class yet
so can anybody help?
i trying to make % of main value
like example
ivegot 40% and the 100% value are 450
how can i get 40% of 450?
to it be 0 if its 0%
Simple.
To convert a Percentage into a Decimal simply divide by 100
40% = 0.4
To get a percentage of a number simply multiply it by the number
450 * 0.4 = 180
you mean i should split with 100 and then increase in the splitted percentage and i get the value right?
Here’s a simpler way to think about it. Take the percent (in this case it’s 40%) and turn it into a fraction where the denominator is 100.
For example:
40% = 40/100
20% = 20/100
10% = 10/100
76% = 76/100
Then, convert the fraction to a decimal (tip: move the decimal to the left twice):
40/100 = 0.4
20/100 = 0.2
10/100 = 0.1
76/100 = 0.76
Then, multiply the decimal you got by the number you want to find the percentage of. In your case, you would do:
0.4 * 450 = 180
OR you can still use the fraction:
(40/100) * 450 = 180
it actually worked thank you i will note that for future