Curriculum
Course: MYSQL
Login

Curriculum

MYSQL

MySQL References

0/140
Text lesson

DEGREES

Example

Transform the value measured in radians into its corresponding degree measurement.

SELECT DEGREES(1.5); 

Definition and Usage

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

Note: Also refer to the RADIANS() and PI() functions.

Syntax

DEGREES(number)

Parameter Values

Parameter

Description

number

Mandatory: A numerical value is necessary.

Technical Details

Works in: From MySQL 4.0

More Examples

Example

Convert the radian value into degrees:

SELECT DEGREES(PI()*2);