COS( ) Function

Example   See Also

Returns the cosine of a numeric expression.

Syntax

COS(nExpression)

Returns

Numeric

Arguments

nExpression

Specifies a numeric expression whose cosine COS( ) returns. nExpression can be any value.

Remarks

COS( ) returns the cosine of nExpression in radians. Use DTOR( ) to convert an angle from degrees to radians. The number of decimal places that COS( ) returns can be specified with SET DECIMALS. The value COS( ) returns ranges between –1 and 1.