Global

Methods

round(value, decimals)

Rounding function that accounts for floating point errors
Source:
Parameters:
Name Type Description
value number Number to round
decimals number Decimals places to round to