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 radians.

SELECT RADIANS(180);

Definition and Usage

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

Syntax

RADIANS(number)

Parameter Values

Parameter

Description

number

Required: A numeric value expressed in degrees.

Technical Details

Works in:

SQL Server (beginning from 2008), Azure SQL Database, Azure SQL Data Warehouse, and Parallel Data Warehouse

More Examples

Example

Transform a value from degrees into radians.

SELECT RADIANS(-45);