Was this page helpful?

Num.Floor

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

    Get the largest integer less or equal to the specified number.

    Usage Restrictions

    1.9.1 or later

    Parameters

    Name Type Description
    number
    num The number value.

     

    Result

    The number value of the largest interger less or equal to the given number.

     

    Samples


    Output

    To return the floor number value:

    {{num.floor(29.98) }} 

     

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

    Copyright © 2011 MindTouch, Inc. Powered by