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 and 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);


Login
ADS CODE