functionround

Round a Real variable to the nearest integer

Extends from Modelica.Icons.Function (Icon for functions).

Information

Example:
round(1.6) returns 2 as an Integer.

Inputs

TypeNameDefaultDescription
Realu<html><code>Real</code> variable</html>

Outputs

TypeNameDefaultDescription
IntegeryNearest integer