Was this page helpful?

Num.Ceiling

    Table of contents
    1. 1. Usage Restrictions
    2. 2. Parameters
    3. 3. Result
    4. 4. Samples
    num.Ceiling(number : num) : num
    

    Get the smallest integer greater or equal to the specified number.

    Usage Restrictions

    1.9.1 or later

    Parameters

    Name Type Description
    number
    num number value

     

    Result

    A number that is the smallest number greater or equal to the given number.

     

    Samples


    Output

    To find the ceiling of a value:

    {{ num.ceiling(19.345) }} 

     

    20
    Was this page helpful?
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by