Overview
This function returns the number rounded to the number of decimal points.
Parameters
roundTo(number, beforeDecimal, afterDecimal)
Number
he number to round.
Before Decimal
Number of digits before the decimal point.
After Decimal
Number of digits after the decimal point.
For example...
roundTo(3.14159, 1, 2)
Returns 3.14.