Send to a Friend

Math algorithm/function to convert this number to 40?
I’m programming a knob that has an arrow that’s position is defined from an arc number.
I’m looking to find a way to convert this arc number to a number that will represent a temperate.
The minimum this number will be is 1.3 and the maximum this number will be is 1.7
1.3 needs to equal 40 and 1.7 needs to equal 99
Is this possible?
Using Fluther
or