Navigation:  Reference > Functions >

MOD function

Print this Topic Previous pageReturn to chapter overviewNext page

Returns the remainder after a number is divided by divisor. The result has the same sign as divisor.

Syntax

MOD(number,divisor)

Number        is the number for which you want to find the remainder.

Divisor        is the number by which you want to divide number.

MOD(-8.6,5.3)        = 2

MOD(8.6,5.3)        = 3.3

MOD(-8.6,-5.3)        = -3.3

MOD(8.6,-5.3)        = -2

____________________________

See also:

Functions

 


Page url: https://www.dplot.com/help/index.htm?mod.htm