
The Function Block DIV divides the first input by the other inputs.
Warning: Division by 0 causes the function block not to be calculated. The output variable retains its last value.
Note: This Function Block can have more than two inputs. You can right-click on the Function Block to add another input.
Values with numbers are expected at the inputs. In doing so, an attempt is made to convert a string value into a number. The Boolean value TRUE is converted into a 1.
Note: Also see the article String Conversion to Numbers, if you are working with strings.
The output returns the quotient of all inputs as an integer or floating-point number.