View on GitHub

JODA - JSON On Demand Analysis

Efficient data wrangling for semi-structured JSON documents

DEGREES - Mathematical

Converts the given radians to degrees

Input parameters

Name Type Optional Description
x Number False Input radians

Output

Number: x * (180/PI())

Usage

DEGREES(<x>)

Examples

Example 1

Query

LOAD tmp
AS ('': DEGREES(0.4))

Result

22.91831180523293

Example 2

Query

LOAD tmp
AS ('': DEGREES(0.8))

Result

45.83662361046586