mod() Function

Returns the remainder of dividend when divided by the divisor.

Syntax

mod( dividend, divisor )

dividend: (Decimal Array) The number that will serve as the dividend in the modulus calculation.

divisor: (Decimal Array) The number that will serve as the divisor or base in the modulus calculation.

Returns

Number

Examples

mod(8,3) returns 2

Open in Github Built: Fri, Jun 24, 2022 (02:09:25 PM)

On This Page

FEEDBACK