round a value to the specified number of digit
value to be rounded.
Optional
number of decimal digit to be rounded to.
rounded value
// round a specific value to 2 digitsmath.round(10.33333, 2); // return 10.33 Copy
// round a specific value to 2 digitsmath.round(10.33333, 2); // return 10.33
round a value to the specified number of digit