Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (Français) » SQL Anywhere Server - SQL Reference » Using SQL » SQL functions » SQL functions (P-Z)

 

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 );