Last updated 2 months ago
SQL Server
Azure Synapse Analytics
Converts degrees to radians. ().
RADIANS( expression )
expression: Numeric expression in degrees.
expression
Same data type sent through parameter as a numeric expression in radians.
SELECT RADIANS(180.0)
RADIANS(180) | --------------------+ 3.141592653589793116|
Cast the parameter of this function to float, otherwise, the above statement will return 3 instead of PI value.
No issues were found.
No related EWIs.