ceiling(Variable) Function

Top 

Description

Computes the ceiling value of the specified value. The ceiling is the smallest integer that is greater than or equal to the specified value.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

 

Function Signature

ceiling(

Variable x)

 

 

Arguments

x


Description:

The value whose ceiling value will be returned.

 

 

 

Return Value

Type:

number

 

 

The ceiling value of the specified value.

 

Syntax

myVariable1 = ceiling(myVariable2);

 

 

Example 1

 

 

See also

ceiling