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 (A-D)

 

DEGREES function [Numeric]

Converts a number from radians to degrees.

Syntax
DEGREES( numeric-expression )
Parameters
  • numeric-expression   An angle in radians.

Returns

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

DOUBLE

Remarks

This function converts its argument to DOUBLE, AND performs the computation in double-precision floating point. If the parameter is NULL, the result is NULL.

Standards and compatibility
  • SQL/2003   Vendor extension.

Example

The following statement returns the value 29.79380534680281.

SELECT DEGREES( 0.52 );