.Modelica.Blocks.Math.RealToInteger

Convert Real to Integer signal

Information

This block computes the output y as nearest integer value of the input u:

y = integer( floor( u + 0.5 ) )  for  u > 0;
y = integer( ceil ( u - 0.5 ) )  for  u < 0;

Generated at 2026-07-10T20:51:55Z by OpenModelicaOpenModelica 1.27.0 using GenerateDoc.mos