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

SQL Anywhere 10.0.1 » SQL Anywhere Server - SQL Reference » SQL Functions » Alphabetical list of functions

DECRYPT function [String] Next Page

DEGREES function [Numeric]


Converts a number from radians to degrees.

Syntax

DEGREES( numeric-expression )

Parameters

numeric-expression    An angle in radians.

Remarks

The DEGREES function returns the degrees of the angle given by numeric-expression.

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

Standards and compatibility
Example

The following statement returns the value 29.79380534680281.

SELECT DEGREES( 0.52 );