View on GitHub

JODA - JSON On Demand Analysis

Efficient data wrangling for semi-structured JSON documents

TAN - Mathematical

Calculates the tangent of x

Input parameters

Name Type Optional Description
x Number False  

Output

Number: tan(x)

Usage

TAN(<x>)

Examples

Example 1

Query

LOAD tmp
AS ('': TAN(90))

Result

-1.995200412208242

Example 2

Query

LOAD tmp
AS ('': TAN(10))

Result

0.6483608274590866

Example 3

Query

LOAD tmp
AS ('': TAN(-15))

Result

0.8559934009085187