Greetings!
I have a user input (my variable) and I want all of the numbers to be (in output after calculations): if it's more than 0 but less than 0.5 it's 0.5
0.5 it's 0.5
and everything that bigger than 0.5 it's 1
for example,
20.0 = 20.0
20.1 = 20.5
20.2 = 20.5
20.5 = 20.5
20.6 = 21.0
Can someone help me, please