Snippet format update
To match the starter (for the migration)
This commit is contained in:
@ -1,4 +1,7 @@
|
||||
### mapNumRange
|
||||
---
|
||||
title: mapNumRange
|
||||
tags: math,beginner
|
||||
---
|
||||
|
||||
Maps a number from one range to another range.
|
||||
|
||||
@ -11,4 +14,4 @@ const mapNumRange = (num, inMin, inMax, outMin, outMax) =>
|
||||
|
||||
```js
|
||||
mapNumRange(5, 0, 10, 0, 100); // 50
|
||||
```
|
||||
```
|
||||
Reference in New Issue
Block a user