ceil

ldmud-3.3.719/doc/efun/ceil · 491 B

From the archive ldmud-3.3.719.tar.gz

Download the archive   « Back to the archive contents

SYNOPSIS
        float ceil (int|float arg)

DESCRIPTION
        Round the <arg>ument upwards the nearest whole number, returning
        that value. If the <arg>ument value is an integer, the result will
        be that value, converted to float.

EXAMPLES
        ceil(4.5)  - return 5.0
        ceil(-4.5) - return -4.0
        ceil(4)    - return 4.0

HISTORY
        Introduced in LDMud 3.2.7.
        LDMud 3.2.9 allowed integers as argument values.

SEE ALSO
        abs(E), floor(E)

Site Stats

Snippets: 1791
Codebases: 571