This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v19
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

 
PAGE CONTENTS 
 
HISTORY 

 
ARTICLE USAGE

4D SQL Reference ( 4D v19)