The function returns the result of an integer division of the arguments arg1/ arg2.
Declaration
Blok kódu
language
esl
theme
Confluence
INT %Div(
UNIVAL in arg1,
UNIVAL in arg2
)
Parameters
arg1
Function
divident
dividend of Int, Realor RelTimetype.
arg2
Function
divider
divisor of Int, Realor RelTimetype.
Blok kódu
language
esl
theme
RDark
INT _i
_i := 7.0/4.0 ; the assignment operator rounds the value of the variable _i = 2
_i := %Div(7.0, 4.0) ; %Div function removes all digits after the decimal point and returns _i = 1