ILE COBOL Language Reference


COS

The COS function returns a numeric value that approximates the cosine of the angle or arc specified by the argument in radians.

The function type is numeric.

Format
 
>>-FUNCTION COS--(argument-1)----------------------------------><
 
 
argument-1
Must be class numeric.

The returned value is the approximation of the cosine of the argument, and is greater than or equal to -1 and less than or equal to +1.

Related Information


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]