DEGREES Function [Numeric]

Converts a number from radians to degrees.

Syntax

DEGREESnumeric-expression )

Parameters

Parameters

Parameter

Description

numeric-expression

An angle in radians.

Returns

Returns the degrees of the angle given by numeric-expression.

DOUBLE

Example

The following statement returns the value 29.793805:

SELECT DEGREES( 0.52 ) FROM iq_dummy

Standards and Compatibility

  • SQL—Vendor extension to ISO/ANSI SQL grammar.

  • Sybase—Compatible with Adaptive Server Enterprise.