How can i set my sphere scale with a float?

I’ve found a calculation that gives me the good scale for my range. I divided my range by 100 and multiply by 2 (example : 900/100=9*2= X18 Y 18 Z 1 = my 900 range float). Why ? Dunno why, i suck in maths

(Another example : Range = 1 000 so… 1 000/100=5*4=20 (can’t be lower than 900=18 so i multiply by 4). X 20 Y 20 Z 1 = my 1 000 range >.<)