Operator: / (Division)

Top  Previous  Next

The / operator divides two integer or floating-point numbers.

 

 

Example:

INCLUDE rtcu.inc
 
VAR
  a : INT;
  b : INT;
END_VAR;
 
PROGRAM test;
 
BEGIN
  ...
  a := b / 10;
  ...
END;
 
END_PROGRAM;