clampBottom(x, a) → {number}
Clamp x
to the range [a, Infinity)
.
Roughly the same as Math.max(x, a)
, except for NaN handling.
Parameters
Name | Type | Description |
---|---|---|
x | number | |
a | number |
Returns
number -
- Source code: math/Math.js (Line 1054)
Please login to continue.