Convert between angle units

Supported in: Batch, Streaming

Expression categories: Geospatial, Numeric

Declared arguments

  • Amount of current unit - no description
    Expression<DefiniteNumeric>
  • Current unit - The unit prior to conversion.
    Enum<Degrees, Minutes, Radians, Seconds>
  • Target unit - The desired unit after conversion.
    Enum<Degrees, Minutes, Radians, Seconds>

Output type: Double

Examples

Example 1: Base case

Argument values:

  • Amount of current unit: degrees
  • Current unit: degrees
  • Target unit: radians
degreesOutput
1803.141592653589793

Example 2: Base case

Argument values:

  • Amount of current unit: radians
  • Current unit: radians
  • Target unit: degrees
radiansOutput
3.141592653589793180.0

Example 3: Null case

Argument values:

  • Amount of current unit: radians
  • Current unit: radians
  • Target unit: degrees
radiansOutput
nullnull