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