Spread.NET 18 Formula Reference
Formula Functions / Functions A to C / COS
In This Topic
    COS
    In This Topic

    This function returns the cosine of the specified angle.

    Syntax

    COS(angle)

    Arguments

    This function can take any real number as an argument. The angle argument is the angle in radians for which you want the cosine.

    Remarks

    If the angle is in degrees, multiply it by PI/180 to convert it to radians.

    Data Types

    Accepts numeric data. Returns numeric data.

    Examples

    COS(B2)

    COS(R1C3)

    COS(45*PI()/180) gives the result 0.7071067812

    COS(RADIANS(30))

    Version Available

    This function is available in product version 1.0 or later.

    See Also

    ACOS | ACOSH | COSH | Math and Trigonometry Functions