A number and a precision for math.roundToDecimals and math.roundAndRemoveTrailingZeros.
math.roundToDecimals
math.roundAndRemoveTrailingZeros
Optional
The number to round; it is not changed, a rounded copy is returned.
1.123456 Copy
1.123456
-Infinity
Infinity
0.1
How many digits to keep after the decimal point; 0 rounds to a whole number.
2 Copy
2
1
Namespace: Bit › Inputs › Math
Other symbols in Inputs.Math:
API reference home · Full symbol index · Tutorials and guides · Platform
A number and a precision for
math.roundToDecimalsandmath.roundAndRemoveTrailingZeros.