.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-04-25T18:15:59Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos