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

$$TAN^XLFMTH(): Tangent (Radians)

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

Description

The $$TAN^XLFMTH extrinsic function returns the tangent of a number (TAN x = SIN x/COS x), with radians input.

Format

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

Input Parameters

x:

(required) Number in radians for which you want the tangent.

n:

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

Output

returns:

Returns the tangent of radians input number.

Example

>S X=$$TAN^XLFMTH(.7853982)

>W X
1.000000073