Math, asked by bryannawhitfield11, 1 year ago

What is between 0.5 and 1.0

Answers

Answered by kaileek
12

Basically 0.5 is a full value and 1 is an empty value. My reference variable ranges from 0 to 100. I now have it translating properly but the value is still backwards. 100 is equal to 1 and 0 is equal to 0.5; I've tried almost everything I can think of even the whole a + b = 1 so b = 1 - a.


Below is the math; the value variable is actually the ratio between current value and max value so value = current / max.


return 1 + (Value / 2) - 0.5f;

Answered by chopraneetu
10
0.6, 0.7, 0.8 , 0.9



and many more you can write like 0.55, 0.56 ... and so on..
Similar questions