Namespace comb.number
Utilities for numbers
Defined in: number.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Method Attributes | Method Name and Description |
---|---|
<static> |
comb.number.round(num, places, increment)
Rounds a number to the specified places.
|
Method Detail
<static>
comb.number.round(num, places, increment)
Rounds a number to the specified places.
- Parameters:
- {Number} num
- the number to round.
- {Number} places
- the number of places to round to.
- increment