vreScaleNumber takes a value from one range and scales it proportionally into another range.

vreScaleNumber(n1, n2, vMin, vMax, value, decimalPlaces = 3)

## Arguments

n1 The lower value of the target range. The upper value of the target range. The lower value of the source range. The upper value of the source range. The source value to rescale into the target range. The number of decimal places to round the result to.

## Value

The value rescaled into the target range.