Breadcrumbs

modulo() Operation


Syntax


set result = anInteger.modulo(divisor)


Semantics

modulo() returns anInteger mod divisor.

Substitutables

anInteger, divisor

 Can be any variable or object attribute having the type Integer.

Examples


set result = anInteger.modulo(2);