radians

Description

Converts degrees to radians. Returns the size, in radians, of an angle with the specified number of degrees.

Syntax

radians(numeric)

Parameters

numeric

is any exact numeric (numeric, dec, decimal, tinyint, smallint, or int), approximate numeric (float, real, or double precision), or money column, variable, constant expression, or a combination of these.

Examples

Example 1

select radians(2578)
----------- 
         44

Usage

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

To express numeric or decimal dataypes, this function returns precision: 38, scale 18.

When money datatypes are used, internal conversion to float may cause loss of precision.

Standards

ANSI SQL – Compliance level: Transact-SQL extension.

Permissions

Any user can execute radians.

See also

Documentation Transact-SQL Users Guide

Function degrees