MODULO(A, P)

Purpose

Modulo function.

Class

Elemental function

Argument type and attributes

A
must be of type integer or real.
P
must be of the same type and kind type parameter as A.

Result type and attributes

Same as A.

Result value

Examples