Returns a number rounded to the number of decimal places provided.
The number to round.
Optional
The number of decimal places to round to.
The rounded number.
Reference
// 1.234roundTo(1.23456, 3) Copy
// 1.234roundTo(1.23456, 3)
// 1roundTo(1.23456, 0) Copy
// 1roundTo(1.23456, 0)
Returns a number rounded to the number of decimal places provided.