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

$$COS^XLFMTH(): Cosine (Radians)

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

Description

The $$COS^XLFMTH extrinsic function returns the cosine, with radians input.

Format

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

Input Parameters

x:

(required) Radians 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 radians input number.

Example

>S X=$$COS^XLFMTH(1.5)

>W X
.070737202