fuzzyCeil(val, epsilon) → {number}
Applies a fuzzy ceil to the given value.
Parameters
Name | Type | Argument | Default | Description |
---|---|---|---|---|
val | number | The value to ceil. | ||
epsilon | number | <optional> | 0.0001 | The epsilon (a small value used in the calculation) |
Returns
number -
ceiling(val-epsilon)
- Source code: math/Math.js (Line 91)
Please login to continue.