MOD()

 

Syntax:

       Then: MOD(exp1,exp2)

 

Returns the remainder of exp1 divided by exp2.

 

Version Ref:  4.1

 

Description:

Returns the remainder of a division. The first parameter is divided by the second parameter and the remainder is the value returned. The sign of the result is the sign of the original number.

 

Examples:

       Then: mo = MOD(no,"100")

 

If "no" is equal to 247 then "mo" would be equal to 47 after the statement is executed.