Skip to main content

DEGREES

Returns the argument x, converted from radians to degrees, where x is given in radians.

Syntax

DEGREES( <x> )

Examples

SELECT DEGREES(PI());

┌───────────────┐
│ degrees(pi())
├───────────────┤
180
└───────────────┘
Try Databend Cloud for FREE

Multimodal, object-storage-native warehouse for BI, vectors, search, and geo.

Snowflake-compatible SQL with automatic scaling.

Sign up and get $200 in credits.

Try it today