Modulus()

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

Modulus()

Previous pageReturn to chapter overviewNext page

Purpose

To determine the remainder of a division operation

Syntax

Modulus( <nDividend> , <nDivisor> ) nRemainder

Arguments

<nDividend> The dividend of the division operation

<nDivisor> The divisor of the division operation

Returns

Modulus() returns the remainder of <nDividend> divided by <nDivisor>.