Integer into progress bar

Hey MadkingPercy,

Because you are doing the divide before turning the result into a floating point number, it is being returned as 0 instead of something like 0.25, as an example.

To explain more:

75 / 100 = 0.75 but because Health is a integer value, it will result in 0 (dropping the decimals because integer variables do not have any floating point numbers).

To fix this, you’ll want to turn Health into a floating point number (float) before the divide. As such: