|LabVIEW 2015 Help|
|LabVIEW 2016 Help|
|LabVIEW 2017 Help|
|LabVIEW 2018 Help|
|LabVIEW 2019 Help|
Owning Palette: Numeric Functions
Requires: Base Development System
Computes the quotient of the inputs.
If you wire two waveform values or two dynamic data type values to this function, error in and error out terminals appear on the function. The connector pane displays the default data types for this polymorphic function.
|x can be a scalar number, array or cluster of numbers, array of clusters of numbers, and so on.|
|y can be a scalar number, array or cluster of numbers, array of clusters of numbers, and so on.|
|x/y is a double-precision, floating-point number if both x and y are integers. In general, the output type is the widest representation of the inputs if the inputs are not integers or if their representations differ. |
If you wire fixed-point values to this function, by default LabVIEW configures the integer word length of the quotient to avoid overflow for nonzero values of y. However, because the precision of the quotient can be infinite, rounding conditions always occur. Use the Numeric Node Properties dialog box to configure how LabVIEW handles rounding of fixed-point data. This function always uses the Saturate overflow mode to handle overflow.
Refer to the Numeric Functions VI in the labview\examples\Numerics directory for an example of using the Divide function.