Round To Nearest

Description

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.

 

Input parameters

 

 x : class, n-dimensional tensor.

Output parameters

 

nearest integer value : class, the resulting nearest integer to number.

Examples

All these examples are snippets PNG, you can drop these Snippet onto the block diagram and get the depicted code added to your VI (Do not forget to install Accelerator library to run it).

Table of Contents