mod

Returns the modulus (remainder) resulting from the division of one double by another.

Example

Find the remainder of performing 19/3.

mod(19,3)

Syntax

mod(double dividend, double divisor)
  • dividend : double
  • divisor : double

    Returns

    double

Notes

mod returns the remainder of dividing a numerical dividend by a numerical divisor.