|LabVIEW 2016 Help|
|LabVIEW 2017 Help|
|LabVIEW 2018 Help|
|LabVIEW 2019 Help|
|LabVIEW 2020 Help|
Owning Palette: Numeric Functions
Requires: Base Development System
Truncates the input to the next lowest integer.
For example, if the input is 3.8, the result is 3. If the input is –3.8, the result is –4. 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.|
|floor(x): largest int <= x is the resulting lowest integer, closest to x. If the input is a time stamp value, the function rounds to the previous second. When x is of the form x = a + bi, that is, when x is complex, the function returns a complex number defined by the next lowest integers to the real and imaginary parts of x. The following equation defines floor(x): largest int <= x: |
floor(x) = floor(a) + i floor(b)
Refer to the Numeric Functions VI in the labview\examples\Numerics directory for an example of using the Round Toward -Infinity function.