MOD

MOD

PROGRAM MOD_DEMO
   VAR
     REAL1,REAL2,REAL3: REAL;
    END_VAR
 REAL3:= MOD(IN1:=REAL1, IN2:=REAL1);
END_PROGRAM

Returns the remainder after division of the input values.

InputType Description
IN1 ANY_NUMInput value
IN2 ANY_NUMInput value
OutputType Description
ANY_NUMOutput value

  • © Energocentrum Plus, s.r.o. 2017 - 2024