Round to N Decimal Places
round(x, N) = Math.round(x × 10^N) / 10^NShift the decimal point N places right, round to the nearest integer, then shift back. This is the standard half-up rounding method.
Where:
x= The number to roundN= Number of decimal places to keep