Owning Palette: Numeric VIs and Functions
Requires: Base Development System
Rounds the input to the nearest integer. If the value of the input is midway between two integers, the function returns the nearest even integer.
For example, if number is 1.5 or 2.5, nearest integer value is 2.
Note IEEE standards determine the rounding method for this function. This method produces more accurate values with no positive or negative bias because it does not round all integers in the same direction. |
The connector pane displays the default data types for this polymorphic function.
Add to the block diagram | Find on the palette |
Refer to the Numeric Functions VI in the labview\examples\Numerics directory for an example of using the Round To Nearest function.