Bearbeiten

Freigeben über


convert_angle

Applies to: ✅ Microsoft FabricAzure Data ExplorerAzure MonitorMicrosoft Sentinel

Convert an angle value from one unit to another.

Syntax

convert_angle(value,from,to)

Learn more about syntax conventions.

Parameters

Name Type Required Description
value real ✔️ The value to be converted.
from string ✔️ The unit to convert from. For possible values, see Conversion units.
to string ✔️ The unit to convert to. For possible values, see Conversion units.

Conversion units

  • Arcminute
  • Arcsecond
  • Centiradian
  • Deciradian
  • Degree
  • Gradian
  • Microdegree
  • Microradian
  • Millidegree
  • Milliradian
  • Nanodegree
  • Nanoradian
  • NatoMil
  • Radian
  • Revolution
  • Tilt

Returns

Returns the input value converted from one angle unit to another. Invalid units return null.

Example

print result = convert_angle(1.2, 'Degree', 'Arcminute')

Output

result
72