Math.RoundTo
Skip to content
mnscript
number Math.RoundTo(number, number) 

Description ​

Returns the number provided to the number of decimal places provided

Arguments ​

number - The number to round
number - The number of decimal places to round to.

Returns ​

number - The integer closest to the number provided