For example, I want the result for:
rounding 0.2198445 to return 0.21, to the nearest hundredth..
Develop games in your browser. Powerful, performant & highly capable.
Rounded to the nearest 100th would be 0.22
You can use the system expression "Format decimal number" = FormatDecimal(number, digits)
myRoundedNumber = float(FormatDecimal(0.2198445, 2)