ceiling() Function

Function

ceiling( number, significance )

Rounds the number up to the nearest multiple of the specified significance.

Parameters

Keyword Type Description

number

Decimal

A number, the ceiling of which will be returned.

significance

Decimal

The number will be rounded to the lowest multiple of the significance that is greater than the number.

Returns

Number

Examples

You can experiment with this function in the test box below.

Test Input

ceiling(7.32,.5) returns 7.5

Open in Github Built: Fri, Nov 19, 2021 (11:59:11 AM)

On This Page

FEEDBACK