Method MapRanges
MapRanges(double, double, double, double, double)
Maps value from range specified by
(fromLow
, fromHigh
)
to range specified by
(toLow
, toHigh
).
public static double MapRanges(double value, double fromLow, double fromHigh, double toLow, double toHigh)