Kernel 8.0 APIs Banner
Office of Information and Technology (OIT) Banner
[skip navigation]

$$COSDEG^XLFMTH(): Cosine (Degrees)

Reference Type: Supported, Category: Math Functions, ICR#: 10105

Description

The $$COSDEG^XLFMTH extrinsic function returns the cosine, with degrees input.

Format

  $$COSDEG^XLFMTH(x[,n])

Input Parameters

x:

(required) Degrees input number for which you want the cosine.

n:

(optional) The precision for the function. Precision means the detail of the result, in terms of number of digits.

Output

returns:

Returns the cosine of degrees input number.

Example

>S X=$$COSDEG^XLFMTH(45)

>W X
.707106781