functionround
Round a
Real variable to the nearest integerExtends from Modelica.Icons.Function (Icon for functions).
Information
Example:
round(1.6) returns 2 as an Integer.
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | u | <html><code>Real</code> variable</html> |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | y | Nearest integer |