.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-11-22T19:25:38Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos