Skip to main content
Version: 8.1

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