Scaling a number range

Hi there, very, very new to OF, been coding for about a week now but have a history using MaxMSP. One object I always used a lot was [scale] which let you scale one number stream into another. Is there a OF equivalent? I guess it would look something like this? :grin:

int scale (int inputLow, int inputHigh, int outputLow, int outputHigh)

yes, ofMap does exactly that

Thatโ€™s wonderful! Thanks very much Arturo. :slight_smile: