Table of Contents

Search

  1. Preface
  2. The Transformation Language
  3. Constants
  4. Operators
  5. Variables
  6. Dates
  7. Functions

Transformation Language Reference

Transformation Language Reference

TAN

TAN

Returns the tangent of a numeric value (expressed in radians).

Syntax

TAN(
numeric_value
)
The following table describes the argument for this command:
Argument
Required/
Optional
Description
numeric_value
Required
Numeric datatype. Numeric data expressed in radians (degrees multiplied by pi divided by 180). Passes the numeric values for which you want to calculate the tangent. You can enter any valid transformation expression.

Return Value

Double value.
NULL if a value passed to the function is NULL.

Example

The following expression returns the tangent for all values in the Degrees port:
TAN( DEGREES * 3.14159 / 180 )
DEGREES  
RETURN VALUE
70
2.74747741945531
50
1.19175359259435
30
0.577350269189672
5
0.0874886635259298
18
0.324919696232929
89
57.2899616310952
NULL
NULL

0 COMMENTS

We’d like to hear from you!