Integer Intrinsic Functions - Mod Method

Return the modulus value

Member of Integer Intrinsic Functions (PRIM_LIBI.IIntegerIntrinsics)


NameTypeData TypeDescription
Result*Result (Optional)IntegerResulting number
By*InputIntegerValue to divide by


Mod returns the remainder of the variable being divided by the object.
The result is an integer.


In this example, if #Subject contained 10 and #Object contained 3, the result would be 1.
#Result := #Subject.Mod(#Object)

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2