MODULO

8.178 MODULO — Modulo function

Description:
MODULO(A,P) computes the A modulo P.
Standard:
Fortran 95 and later
Class:
Elemental function
Syntax:
RESULT = MODULO(A, P)
Arguments:
A Shall be a scalar of type INTEGER or REAL.
P Shall be a scalar of the same type and kind as A. It shall not be zero.
Return value:
The type and kind of the result are those of the arguments.
If A and P are of type INTEGER:
MODULO(A,P) has the value R登录查看完整内容