SQL Server RADIANS() Function

Example

Convert a degree value into radians:

SELECT RADIANS(180);
Try it Yourself »

Definition and Usage

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

Syntax

RADIANS(number)

Parameter Values

Parameter Description
number Required. A number in degrees

Technical Details

Works in: SQL Server (starting with 2008), Azure SQL Database, Azure SQL Data Warehouse, Parallel Data Warehouse

More Examples

Example

Convert a degree value into radians:

SELECT RADIANS(-45);
Try it Yourself »

Copyright 1999-2023 by Refsnes Data. All Rights Reserved.