Skip to main content
Sumo Logic

ceil

The ceil operator rounds up a field value to the nearest integer value.

Syntax

  • ceil(<x>) as <field>

Examples

  • ceil(1.5) as v // v = 2
  • ceil(-1.5) as v // v = -1