$tan

Return the tangent of X.

$tan(X)

Parameters

X—angle in radians or a field (or indirect reference to a field), a variable, or a function or expression which evaluates to an angle in radians.

Return Values

Tangent of X

If an error occurs , $procerror contains a negative value that identifies the exact error.

Values of $procerror Commonly Returned Following $tan
Value  Error constant Meaning
-1208 <UPROCERR_OVERFLOW> Overflow.

Use

Allowed in all component types.

Using $tan

The following example returns the tangent of the given expression:

vTangent = $tan($pi() * RADIANS)

Related Topics