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.

mod()

Usage

mod(val1, val2)

Description
Returns the remainder of the quotient of val1 and val2. This method tries to convert its parameter objects into numerical values, i.e. you can use strings as arguments.

Example

${mod(5, 2)}

results in

1.0

Search results for "mod()"

mod()

Returns the remainder of the quotient of val1 and val2. This method tries to convert its parameter objects into numerical values, i.e. you can use strings as arguments.

mod(val1, val2)