I have a range of values (relating to hours and minutes (from 0 to 2359).
Now what I need is to map this range onto another range of values, from -5 to +5. So that:
0 <= x <= 2359
-5 <= y <= +5
How would I calculate y from x? Any suggestions? I eventually need to code something to do this in VB.
Thanks
Now what I need is to map this range onto another range of values, from -5 to +5. So that:
0 <= x <= 2359
-5 <= y <= +5
How would I calculate y from x? Any suggestions? I eventually need to code something to do this in VB.
Thanks