For example, you could set a Text element to the following text to the following snippets to have the results computed when the report is rendered. The curly braces and everything inside will be replaced in the output by the computed value.
Basic math expressions:
Calculations using data fields:
Calling built-in String prototype functions on string values from your data source:
Truncate a string data value to the first three characters: