I need help with some math.
I need to turn 4 to 20 into a scale of 0 to 5
example:
I need math to turn this:
4 = 0 pounds
12 = 500 pounds
20 = 1000 pounds
into this:
0 = 0 pounds
2.5 = 500 pounds
5 = 1000 pounds
so it is scaled.
can it be done?
lets say that i have 2 scroll bars, the one on the left scrolls between
4 & 20 with 1/10 increments. when I scroll this scroll bar to 12 the scroll bar on the right displays 2.5
so, if the left scroll bar was set to 1.1, what would the scroll bar on the right show??
I hope this explains it better.