Allow Math functions in expressions

In a custom report, I'm using the option to use Expressions for formatting a field. However, I cannot find documentation what exactly should be possible inside an Expression. The text below the edit box in the popup says:

Provide JavaScript expression to print a value. You can use "this" to refer to the current field and "Fields" variable to refer to the object containing all the fields.

When I'm trying to use functions from the JavaScript Math object, e.g. Math.round(), I get an SyntaxError: Unexpected token error message in the respective report table cells. I wish I could use at least these functions, maybe you could alias them if you don't want to allow all of Javascript in Expressions, and without the Math. part the Expression would actually remain quite readable.

PS: I note that I can use methods of the this object, e.g. this.toLocaleString().

🟢