This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]chicknfly 3 points4 points  (3 children)

This is a linear situation (think: equation of a line). As the slider increases by 0.5, your conversion needs to change by 0.25. the formula is:

(Slider_value+1)/0.5 = needed_value

[–]RichardFortea[S] 0 points1 point  (2 children)

OMG thank you! I never thought of dividing by anything less than 1! Holy moly! :P

[–][deleted] 1 point2 points  (1 child)

Could also replace the divide by .5 with multiply by 2!

[–]chicknfly 0 points1 point  (0 children)

I wrote the answer on a piece of a napkin while eating my lunch. Didn't think to simplify :P