bugl
bugl
HomeLearnPatternsSearch
HomeLearnPatternsSearch

Loading lesson path

Learn/SQL/SQL References
SQL•SQL References

MySQL RADIANS() Function

Concept visual

MySQL RADIANS() Function

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

Start at both ends

Example

Convert a degree value into radians:

SELECT RADIANS(180);

Definition and Usage

The RADIANS() function converts a degree value into radians.

Note:

See also the DEGREES()

and

Pi()

functions.

Syntax

Radians(

number )

Parameter Values

Parameter

Description number

Required. A number in degrees

Technical Details

Works in:

From MySQL 4.0

More Examples

Example

Convert a degree value into radians:

SELECT RADIANS(-45);

Previous

❮ MySQL Functions

Next

Previous

MySQL POWER() Function

Next

MySQL RAND() Function