.Modelica.Blocks.Math.RealToInteger

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 2020-06-05T21:39:08Z by OpenModelica 1.16.0~dev-442-g2e5bc9f