RADIANS

Description

Converts degrees to radians. (RADIANS in Transact-SQL).

Sample Source Pattern

Syntax

RADIANS( expression )

Arguments

expression: Numeric expression in degrees.

Return Type

Same data type sent through parameter as a numeric expression in radians.

Examples

SELECT RADIANS(180.0)

Cast the parameter of this function to float, otherwise, the above statement will return 3 instead of PI value.

Last updated