The MOD function returns an integer value that is argument-1 modulo argument-2. The type of this function is integer. 
 
  General Format
 
	  
	  
 
  Arguments
 
	   
	 - Argument-1 and argument-2 must be integers. 
	 
- The value of argument-2 must not be zero. 
	 
Returned Values
 
	   
	 - The returned value is argument-1 modulo argument-2. The returned value is defined as: 
		argument-1 - (argument-2 * FUNCTION INTEGER (argument-1 / argument-2)) 
		 
- The expected results for some values of argument-1 and argument-2 are as follows: 
		 
		
 
			  
			  
			  
			  
				 
				  | Argument-1 | Argument-2 | Return |   
				  | 11 | 5 | 1 |   
				  | -11 | 5 | 4 |   
				  | 11 | -5 | -4 |   
				  | -11 | -5 | -1 |