You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Integer Intrinsic Functions - Mod Method
Return the modulus value
Member of Integer Intrinsic Functions (PRIM_LIBI.IIntegerIntrinsics)

Parameters

Name

Type

Data Type

Description

Result

*Result (Optional)

Integer

Resulting number

By

*Input

Integer

Value to divide by

Details


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

Example


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

  • No labels