let's basically say that I have a UI slider in my game, with :
min : $60$
max : $140$
position percentage : $40$%
position : ?
how do I calculate the position using what's given above ? I tried some equations I found in the internet and the closest I could get is this one :
position = (percentage * (max - min) / $100$) + min
however it is still not working correctly