You have been redirected from an outdated version of the article. Below is the content available on this topic. To view the old article click here.

rint()

Usage

rint(range)

Description
Returns a random integer value in the given range (inclusive 0 and exclusive the given upper limit).

Example

${rint(100)}

results in

42

Search results for "rint()"

print()

Prints the string representation of all of the given objects into the page rendering buffer. This method is often used in conjunction with each() to create rendering output for a collection of entities etc. in scripting context.

print(objects...)

rint()

Returns a random integer value between 0 (inclusive) and the bound parameter (exclusive).

rint(bound)