MOD

4D - Documentation   Français   English   German   Japanese   4D SQL Reference, Table of Contents   4D SQL Reference, Index   Back   Previous   Next

version 11


MOD (arithmetic_expression, arithmetic_expression)

Description

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

4D - Documentation   Français   English   German   Japanese   4D SQL Reference, Table of Contents   4D SQL Reference, Index   Back   Previous   Next