Returns the proportional mapping of a number from one range to another.
// Returns 0.92const map = Chalkboard.numb.map(23, [0, 25], [0, 1]); Copy
// Returns 0.92const map = Chalkboard.numb.map(23, [0, 25], [0, 1]);
Number
First range
Second range
Returns the proportional mapping of a number from one range to another.
Example