.FCSys.Utilities.round

Information

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

Interface

function round
  extends Modelica.Icons.Function;
  input Real u "<html><code>Real</code> variable</html>" annotation(
    Dialog(__Dymola_label = "<html><i>u</i></html>"));
  output Integer y "Nearest integer" annotation(
    Dialog(__Dymola_label = "<html><i>y</i></html>"));
end round;

Generated at 2024-12-26T19:25:54Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos