qck.hlp (Table of Contents; Topic list)
MOD Arithmetic Operator
                                                 Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
 MOD Arithmetic Operator
 
 ■ The MOD operator is used to divide one number by another and return the
   remainder.
 
 ■ MOD has the following syntax:
 
         numeric-expression1 MOD numeric-expression2
 
   where numeric-expression can be any numeric expression.
 
 ■ Real numbers specified as part of a numeric expression are rounded to
   integer values. For example:
 
         PRINT 19 MOD 6.7         ' Visual Basic rounds 6.7 to 7
                                  ' then divides; the output is 5
 
 See: Arithmetic Operators