Rounding Function

 

The Rounding function block performs the calculation of the specified rounding function in the function list.

 

Dialog box

Figure 1  Rounding Function dialog box

 

Parameters

Parameter(s)

Description

Function

Select a rounding function.

Floor - Rounds the input to the nearest integer towards minus infinity.

Ceil - Rounds the input to the nearest integer towards positive infinity.

Round - Rounds the input to the nearest integer.

Fix - Rounds the input to the nearest integer towards zero.

Sample Time

Enter the time interval between samples.