Mod()

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 )

Compliance

Clipper

Platforms

All

Files

Library is rtl

Seealso

%

Advertisements

3 responses to “Mod()

  1. Pingback: Harbour All Functions – M | Viva Clipper !

  2. Pingback: Harbour Math Functions | Viva Clipper !

  3. Pingback: Harbour RG Summary | Viva Clipper !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s