View on GitHub

JODA - JSON On Demand Analysis

Efficient data wrangling for semi-structured JSON documents

COS - Mathematical

Calculates the cosine of the given number

Input parameters

Name Type Optional Description
x Number False Input Number

Output

Number: COS(x)

Usage

COS(<x>)

Examples

Example 1

Query

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

Result

-0.4480736161291701

Example 2

Query

LOAD tmp
AS ('': COS(-180))

Result

-0.5984600690578581