Was this page helpful?

Num.IsPositiveInfinity

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

    Check if number is positive infinity.

    Usage Restrictions

    1.9.1 or later

    Parameters

    Name Type Description
    number
    num The number value.

     

    Result

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

     

    Samples


    Output

    If a number is positive infinity:

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

    true

    If a number is positive infinity:

    {{num.ispositiveinfinity(num.pi) }} 

     

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

    Copyright © 2011 MindTouch, Inc. Powered by