Rational Developer for System z
Enterprise COBOL for z/OS, Version 4.1, 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.

Read syntax diagramSkip visual syntax diagram
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.


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)