Curriculum
Course: SQL
Login

Curriculum

SQL

SQL References

0/80

MySQL Functions

0/139

SQL Server Functions

0/84

SQL Quick Ref

0/1
Text lesson

RADIANS

Example

Transform a degree value into its equivalent in radians.

SELECT RADIANS(180);

Definition and Usage

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

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

Syntax

RADIANS(number)

Parameter Values

Parameter

Description

number

Necessary: A numerical value expressed in degrees

Technical Details

Works in:

From MySQL version 4.0

More Examples

Example

Transform a degree measurement into its equivalent in radians.

SELECT RADIANS(-45);