Nevron Vision for SharePoint Documentation
Pivot Engine / Functions / Trigonometric Functions
In This Topic
    Trigonometric Functions
    In This Topic
    Syntax Description Example
    ACOS(fNumber) Returns the arccosine of number, for example, the angle (in radians) whose cosine is number.

    ACOS(0)

    Returns: PI/2

    ANG360(fAngle) Normalizes an angle's range to be [0; 2PI). Angle is specified in radians. ANG360(1.4 + 2 * PI())
    Returns: 1.4
    ASIN(fNumber) Returns the arcsine of a number, for example, the angle (in radians) whose sine is number.

    ASIN(1)

    Returns: PI/2

    ATAN2(fY,fX) Returns the angle (in radians) between the vector represented by x, y and the direction of the x-axis.

    ATAN2(1,1)
    Returns: PI/4

    ATAN2(1,SQRT(3))
    Returns: PI/6

    ATAN(fNumber) Returns the arctangent of a number, for example, the angle (in radians) whose tangent is number. The resulting angle is in the range [-PI/2; PI/2]

    ATAN(1)
    Returns: PI/4

    COS(fAngle) Returns the cosine of an angle (in radians) COS(0)
    Returns: 1
    COSH(fAngle) Returns the hyperbolic cosine of an angle.

    COSH(PI()/4)

    Returns: 1.3246

    DEG(fAngle) Converts the value of an angle from radians to degrees.

    DEG(PI()/4)

    Returns: 45

    PI() Returns the mathematical constant pi, which is 3.1415926535898. PI()
    Returns: 3.1415926535898
    RAD(fAngle) Converts the value of an angle from degrees to radians. RAD(45)
    Returns: PI/4
    SIN(fAngle) Returns the sine of an angle (in radians) SIN(0)
    Returns: 0
    SINH(fAngle) Returns the hyperbolic sine of an angle (in radians)

    SINH(PI()/4)
    Returns: 0.8687

    TAN(fAngle) Returns the tangent of an angle (in radians)

    TAN(PI()/4)

    Returns: 1

    TANH(fAngle) Returns the hyperbolic tangent of an angle (in radians)

    TANH(-PI()/4)
    Returns: -0.6558