Overview

SCALE command will scale a number from within a defined range into another range.

  • Inputs 1 and 2 defines the lower and upper limits for the initial range respectively.
  • Inputs 3 and 4 defines the lower and upper limits for the final range respectively.
  • Input 5 is the number to scale.

In the below example the number from TestInteger wil be a number from 0 to 10 and will scale to a number from 0 to 100, making the output be 10 times the size of the input number. I.e. a TestInteger = 9 will output 90, TestInteger = 1 will output 10.