Go to the first, previous, next, last section, table of contents.


Mod Intrinsic

Mod(A, P)

Mod: INTEGER or REAL function, the exact type being the result of cross-promoting the types of all the arguments.

A: INTEGER or REAL; scalar; INTENT(IN).

P: INTEGER or REAL; scalar; INTENT(IN).

Intrinsic groups: (standard FORTRAN 77).

Description:

Returns remainder calculated as:

A - (INT(A / P) * P)

P must not be zero.


Go to the first, previous, next, last section, table of contents.