degrees

Description

Returns the size, in degrees, of the angle specified in radians.

Syntax

degrees(numeric)

Parameters

numeric

is a number, in radians, to convert to degrees.

Examples

Example 1

select degrees(45)
----------- 
       2578

Usage

degrees, a mathematical function, converts radians to degrees. Results are of the same type as the numeric expression.

For numeric and decimal expressions, the results have an internal precision of 77 and a scale equal to that of the expression.

Standards

ANSI SQL – Compliance level: Transact-SQL extension.

Permissions

Any user can execute degrees.

See also

Documentation Transact-SQL Users Guide

Function radians