bugl
bugl
HomeLearnPatternsSearch
HomeLearnPatternsSearch

Loading lesson path

Learn/SQL/SQL References
SQL•SQL References

MySQL DEGREES() Function

Concept visual

MySQL DEGREES() Function

Pointer walk
two pointers
leftright102132436485116
left=0
right=6
1
3

Start at both ends

Example

Convert the radian value into degrees:

SELECT DEGREES(1.5);

Definition and Usage

The DEGREES() function converts a value in radians to degrees.

Note:

See also the RADIANS()

and

Pi()

functions.

Syntax

Degrees(

number )

Parameter Values

Parameter

Description number

Required. A numeric value

Technical Details

Works in:

From MySQL 4.0

More Examples

Example

Convert the radian value into degrees:

SELECT DEGREES(PI()*2);

Previous

❮ MySQL Functions

Next

Previous

MySQL COUNT() Function

Next

MySQL DIV Function