Namespace roundDecimals
Defined in: naview.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Helper function for rounding a number up to a given decimal place
|
Namespace Detail
roundDecimals
Helper function for rounding a number up to a given decimal place
- Parameters:
- {number} num
- number to be rounded
- {number} after_comma
- number of decimal places to round to