Owning Palette: Numeric VIs and Functions
Requires: Base Development System
Computes the integer quotient and the remainder of the inputs. This function rounds floor(x/y) to the nearest integer towards -inf.
The connector pane displays the default data types for this polymorphic function.
![]() |
![]() |
If the integer input value of y is zero, the quotient is zero and remainder is dividend x. For floating-point inputs, if y is zero, the quotient is infinity and the remainder defaults to NaN.
![]() | Note Not all real numbers can be represented in the ANSI/IEEE standard floating-point numbers. Because of this, LabVIEW may encounter rounding errors and yield unexpected results if you use floating-point numbers with this function. For exact calculations and comparisons, convert floating-point numbers to integers. |