I've got this
Now, i need to find out the % of it
for example lets say it randomed FZReal=2600, then that would be "100% of clouds are in the air" and if FZReal=3700 it would be "0% of clouds are in the air"
See where im going? so basically the higher the number of FZReal the lower the % number should be, and the lower the FZReal is the higher the % should be.
I'm going to need to display the % number to the players
NOTE: I do know how to find the % of a number but the way im doing it is 2600 / 3700 * 100 = % but this will give me a high % number when the FZReal is low
JASS:
set udg_FZReal = GetRandomReal(2600.00, 3700.00)
Now, i need to find out the % of it
for example lets say it randomed FZReal=2600, then that would be "100% of clouds are in the air" and if FZReal=3700 it would be "0% of clouds are in the air"
See where im going? so basically the higher the number of FZReal the lower the % number should be, and the lower the FZReal is the higher the % should be.
I'm going to need to display the % number to the players
NOTE: I do know how to find the % of a number but the way im doing it is 2600 / 3700 * 100 = % but this will give me a high % number when the FZReal is low