Was this page helpful?

Num.IsInfinity

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

    Check if number is infinite.

    Usage Restrictions

    1.9.1 or later

    Parameters

    Name Type Description
    number
    num The number value.

     

    Result

    True, if the number value is infinite; else, return false.

     

    Samples


    Output

    If a number is infinite:

    {{num.isinfinity(55.391) }} 

     

    false

    If a number is infinite:

    {{num.isinfinity(1/0) }} 

     

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

    Copyright © 2011 MindTouch, Inc. Powered by