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