SpreadJS 13
SpreadJS Documentation / Formula Reference / Formula Functions / ATAN
In This Topic
    ATAN
    In This Topic

    This function calculates the arctangent, that is, the angle whose tangent is the specified value.

    Syntax

    ATAN(value)

    Arguments

    For the argument, specify the tangent of the angle you want to return, which must be a value between –1 and 1.

    Remarks

    The result angle is in radians between –PI/2 and PI/2. If you want to convert the result to degrees, multiply the result by 180/PI.

    Data Types

    Accepts numeric data. Returns numeric data.

    Examples

    ATAN(B3)

    ATAN(R3C2)

    ATAN(1) gives the result 0.7853981634

    See Also