Crystal Reports for Eclipse Designer Guide

Cos (number)

Description
Cos returns a Number specifying the cosine of an angle given in radians.
Arguments
  • Number value which is an angle in number of radians.
  • Returns
    Number value between –1 and 1
    Action
    Cos returns a Number specifying the cosine of an angle given in radians. It takes a right-angle triangle, and returns the length of the side adjacent to the specified angle divided by the length of the hypotenuse.
    Examples
    Cos (1)
    Returns 0.5403 (rounded to 4 decimals). This is the cosine of 1 radian.
    Cos (60 * crPi / 180)
    Returns 0.5. This is the cosine of 60 degrees. Before taking the cosine, the angle is converted to radians by multiplying by crPi / 180.
    Comments
    The range of values returned by Cos is between -1 and 1.



    SAP BusinessObjects
    http://www.sap.com/sapbusinessobjects/
    Support services
    http://service.sap.com/bosap-support/
    Product Documentation on the Web
    http://help.sap.com/