Skip to main content
Version: 7.9

ceil

This function is used by Ignition's Expression language.

Description

Returns the smallest floating point value that is greater than or equal to the argument and is equal to a mathematical integer.

Syntax

ceil(number)

  • Parameters

    • float number - The number to get the ceiling of.
  • Results

    • float - The ceiling of the value provided.

Examples

Code Snippet
ceil(2.38) //returns 3.0