Update map-number-range.md
This commit is contained in:
@ -1,8 +1,8 @@
|
|||||||
### mapNumRange
|
### mapNumRange
|
||||||
|
|
||||||
Maps a number range to another number range.
|
Maps a number from one range to another range.
|
||||||
|
|
||||||
Returns a number mapped from the in range to the out range.
|
Returns a mapped num from the in range to the out range.
|
||||||
|
|
||||||
```js
|
```js
|
||||||
const mapNumRange = (num, in_min, in_max, out_min, out_max) => {
|
const mapNumRange = (num, in_min, in_max, out_min, out_max) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user