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

Graph-Browser

Related Articles
About this article
Last change 2018-05-04
Topics FrontendFunctionsStructr 2.0