RADIANS function [Numeric]

Converts a number from degrees to radians.

Syntax
RADIANS( numeric-expression )
Parameters
  • numeric-expression   A number, in degrees. This angle is converted to radians.

Returns

DOUBLE

Remarks

This function converts its argument to DOUBLE, and performs the computation in double-precision floating point.

Standards and compatibility
  • SQL/2003   Vendor extension.

Example

The following statement returns a value of approximately 0.5236.

SELECT RADIANS( 30 );