The IEC operator is used for modulo division.
The result of the function is the non-negative, integer remainder of division.
Permitted data types: BYTE, WORD, DWORD, LWORD, SINT, USINT, INT, UINT, DINT, UDINT, LINT, ULINT
|
Important |
|---|---|
|
Division by zero may have different results depending on the target system. |