REM  | 
     
  DEVELOPER  | 
  ![]()  | 
Trail: PROIV Documentation > Developer > PROIV Developer > Developing Functions > Events and Logic > REM
| 
   
  | 
  
   
  | 
| 
   Purpose  | 
  
   REM returns the remainder of a division operation.  | 
| 
   Syntax  | 
  
   variable = REM(operand1,operand2)   | 
| 
   Operation  | 
  
   operand1 is the dividend (number to be divided).  It can be any valid numeric constant, variable, or expression.   | 
| 
   Remarks  | 
  
   The value returned is the remainder of operand1 divided by operand2.  | 
| 
   Example  | 
  
   Assume #A = 23,   #B = 4, and #C = 17.  | 
Topic ID: 520103










  