🎓 map()

by Franz Kock

Version 2 (November 20, 2023)

Download (16 downloads)

Map() re-maps a number from one range to another. ※MAP※

It is a kind of Linear interpolation (Lerp), a method of curve fitting:

a value of inLow would get mapped to outLow, a value of inHigh to outHigh, values in-between to values in-between, etc.

return = (x - inLow) * (outHigh - outLow) / (inHigh - inLow) + outLow

👉 https://www.reddit.com/r/AutomateUser/comments/17z53k4/feature_request_map/

4.0 average rating from 1 reviews

5 stars
0
4 stars
1
3 stars
0
2 stars
0
1 star
0
Reports
0

Rate and review within the app in the Community section.