Welcome to our Support Center

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.

Example

All these exemples 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 PERRINE library to run it).

Table of Contents
Index