.ModelicaReference.Operators.'ceil()'

Information

Round a Real number towards plus infinity

Syntax

ceil(x)

Description

Returns the smallest integer not less than x. Result and argument shall have type Real. [Note, outside of a when clause state events are triggered when the return value changes discontinuously.]

Examples

ceil({-3.14, 3.14})
 = {-3.0, 4.0}

Generated at 2019-12-15T02:38:26Z by OpenModelicaOpenModelica 1.16.0~dev-83-g5b8ff4c using GenerateDoc.mos