mod

Returns the remainder (modulus) of "integer_expression1" divided by "integer_expression2". "Integer_expression2" must not be zero or an exception condition is raised.

Syntax

mod ( integer_expression1, integer_expression2 )

Example

mod ( 20 , 3 )

Result

2