Ceiling(Decimal)

Name

Ceiling (Decimal)

Syntax

Ceiling (Decimal number)

Purpose

To return the smallest integer greater than or equal to the number specified.

Description

Returns the smallest integer greater than or equal to the number specified.

Return Type

Integer

Parameters

number [System.Decimal] – Number for which the ceiling value will be returned

Example

In this example, we are passing a decimal value to the function transformation object using a Variables object.

Where,

number = 12.34

In the output window, you can see that the ceiling value, 13, has been returned for the provided number value.

Last updated

© Copyright 2023, Astera Software