Policies & Guidelines

MOD

Calculat modulo

Description

Given a dividend and a divisor, returns the result of the modulo operation.

Function signature

MOD(dividend: Number, divisor: Number) => Number

Parameter

Description

Dividend

Dividend

Divisor

Divisor

Examples

Formula

Return value

MOD(4, 2)

0

MOD(4, 0.03)

0.01

MOD(-4, 3)

2

MOD(0, 5)

0