Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

RADIANS (SQL Server Compact)

Returns radians when a numeric expression, in degrees, is entered.


RADIANS ( numeric_expression )
numeric_expression

An expression of the exact numeric or approximate numeric data type categories, or types that are implicitly convertible to float.

Returns the same type as numeric_expression except for the following expressions.

Specified expression Return type

tinyint, smallint

int

real/float

float

Nonnumeric types that can be implicitly converted to float

float

The following example returns the radian value of various angles.

CREATE TABLE Radians ("30 Degrees", "60 Degrees", "90 Degrees")
INSERT INTO Radians VALUES(RADIANS(30.000000), RADIANS(60.000000), RADIANS(90.000000))
SELECT * FROM RADIANS
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.