Returns the proportional mapping of a number from one range to another.
Number
First range
Second range
// 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]);
Generated using TypeDoc
Returns the proportional mapping of a number from one range to another.