Convert Real to Integer signal
Block that outputs y as the nearest integer value
of the input u.
The block outputs
y = integer( floor( u + 0.5 ) ) if u > 0,
y = integer( ceil ( u - 0.5 ) ) otherwise.
- January 3, 2017, by Michael Wetter:
First implementation, based on the implementation of the Modelica
Standard Library.
Generated at 2026-04-02T18:18:35Z by OpenModelicaOpenModelica 1.26.3 using
GenerateDoc.mos