10 16 10 Mod

LANSA Technical

10.16.10 Mod

Mod returns the modulus of an integer constant or field, when divided by another integer.

The result is an integer.

Input Parameters

By - divide by this number to obtain the modulus.

Example

#myIntField := 5

#myIntField.Mod( 3 )

yields the integer value 2.

Ý 10.16 Integer Intrinsic Functions