A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  special characters  sybase-tech-blog


Category: ASE: Functions: Mathematical Functions

radians()

The mathematical function radians() returns the size in degrees for an angle declared in the parameter "number". The function radians() converts an angle from radian measure into degrees.

Syntax of the Mathematical Function radians()

    radians(number)
    

The parameter "number" of the Mathematical Function radians()

number
The parameter "number" is a placeholder for a number (angle) in degrees. The parameter "number" must be declared as a floating point number otherwise the return value is "0".

Example for the Mathematical Function radians()

    select radians(45.0)
go
-----
0.785398163397448280

Returns the value 0.785398163397448280.

See also:

ASE T-SQL - Aggregate Functions,
Mathematical Functions,
abs(),
acos(),
asin(),
atan(),
atn2(),
ceiling(),
cos(),
cot(),
degrees(),
exp(),
floor(),
log(),
log10(),
pi(),
power(),
rand(),
round(),
sign(),
sin(),
sqrt(),
tan().