Constrains a number between a minimum and maximum value.
Examples
Syntax
constrain(n, low, high)
Parameters
n
number to constrain.
low
minimum limit.
high
maximum limit.
Notice any errors or typos? Please let us know. Please feel free to edit src/math/calculation.js and open a pull request!