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

degrees()

The Mathematical Function degrees() returns the value of an angle for the parameter "number" in degrees. This means, the function degrees() Funktion converts an angle value from radian measure to degrees.

Syntax of the Mathematical Function degrees()

    degrees(number)
    

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

number
The parameter "number" is a placeholder for a number (angle) which will be passed to the function in radian measure.

Example for the Mathematical Function degrees()

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

Returns the value 2578.

    select degrees(pi()/4)
go
-----
45.00000

Returns 45.00000.

See also:

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