Was this page helpful?

Num.Asin

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

    Get the angle whose sine is the specified number.

    Usage Restrictions

    1.9.1 or later

    Parameters

    Name Type Description
    number
    num number value

     

    Result

    The sine angle value of the number

    Note: the number value passed in must be in the range of (-pi/2, pi/2) or the result will be NaN

    Samples


    Output

    To find the sine angle value:

    {{ num.asin(-1) }} 

     

    -1.5707963267949

    To find the sine angle value:

    {{ num.asin(-2) }} 

     

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

    Copyright © 2011 MindTouch, Inc. Powered by