.ModelicaReference.Operators.'floor()'

Information

Round Real number towards minus infinity

Syntax

floor(x)

Description

Returns the largest integer not greater 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

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

Generated at 2019-07-18T01:40:03Z by OpenModelicaOpenModelica 1.14.0~dev-26606-ge0b417b using GenerateDoc.mos