Numbers in scripts

How you specify numbers in a script depends on if you are entering the number as text or in a tag or tag attribute.

To enter a number in text displayed as script output, enter the number as a literal text value. For example,

You have over 1000 points.

If you are entering a number in a script tag or tag attribute, enter the number using the following format.

?number <some operation><number>

For example,

<p>
<@if (NumberOfPoints?number >1000)>You have won a prize!</@if>
</p>