ceil(
ceil(
VALUE
)

The ceil( function converts a number to an integer, truncating toward positive infinity.

Parameters

This function has one parameter:

value – is the input value.

Description

The ceil( function converts a number to an integer, truncating toward positive inifinity. (The int( function is similar, but truncates toward negative infinity.)

    ceil(4.5) ☞ 5
    ceil(-4.5) ☞ -4

If the input value is text, the result will be zero.

See Also

- fix( --
- int( -- converts a number to an integer, truncating toward negative infinity.

History

Version | Status | Notes
10.0 | New | New in this version