Skip to main content
Skip table of contents

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

NONE
set result = anInteger.modulo(2);
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.