how would i make it to like were if you have full hp your stats would say 100% when your max hp is lie 25000?
and to were it works on all percents goen down?
ID:166711
Jun 26 2006, 6:32 am
|
|
Percent means "(something) per hundred".
% = /100 Set up the problem as a word problem. -- What percent of max_hp is current_hp? Translate to an equation. -- (w/100)*max_hp = current_hp [of mostly translates to "multiply"] Now solve for w. -- (w/100) = current_hp/max_hp -- w = (current_hp/max_hp)*100 "w" represents the percentage of max_hp that has a value of current_hp. [Edit: Beat me to it, Papoose :P ] |
In response to Papoose
|
|
yea thx :)
|
Is that what you mean?