4D v14

MOD

Home

 
4D v14
MOD

MOD  


 

 

Command MODMOD (arithmetic_expression, arithmetic_expression)

The MOD function returns the remainder of the first arithmetic_expression divided by the second arithmetic_expression.

Example  

This example returns the remainder of 10 divided by 3:

MOD(10,3) `returns 1

 
PROPERTIES 

Product: 4D
Theme: Functions

 
ARTICLE USAGE

4D SQL Reference ( 4D v11 SQL Release 4 )
4D SQL Reference ( 4D v14)
4D SQL Reference ( 4D v12.1)
4D SQL Reference ( 4D v13.4)
4D SQL Reference ( 4D v14 R2)
4D SQL Reference ( 4D v14 R3)
4D SQL Reference ( 4D v14 R4)