Operator: * (Multiplication)

Top  Previous  Next

The * operator multiplies two integer or floating-point numbers and returns the result.

 

 

Example:

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