Skip to main content

DEGREES

This function returns the corresponding angle, in degrees, for an angle specified in radians.

Syntax

DEGREES ( numeric_expression )

Arguments

numeric_expression
An expression of the exact numeric or approximate numeric data type category.

Return Type

Returns values of type FLOAT64.

Examples

Examples in this section use the example blockchain.

This example shows the results of using the DEGREES function.

SELECT DEGREES(real) FROM example;

Response:

DEGREES(real) [FLOAT64]
NULL
0
57.29577951308232
114.59155902616465