Integer Intrinsic Functions - Div Method

Returns the integer quotient of a division

Member of Integer Intrinsic Functions (PRIM_LIBI.IIntegerIntrinsics)

Parameters

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

Details

Div returns the number of times that a number divides into the subject variable completely.
 
The result is an integer.

Example

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

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2