MOD()

Return the modulus of two numbers.

Syntax

MOD( <nNumber>,<nNumber1>) --> <nRemainder>

Arguments

<nNumber> Numerator in a divisional expression.

<nNumber1> Denominator in a divisional expression.

Returns

<nRemainder> The remainder after the division operation.

Description

This functuion returns the remainder of one number divided by another.
Examples
      ? MOD(12,8.521)
      ? Mod(12,0)
      ? Mod(62412.5142,4522114.12014)
Status

Ready

Compliance

This Function is Ca-Clipper compliant.

Platforms

All

Files

Library is rtl

See Also