Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
RADIANS (SQL Server Compact)
Collapse the table of content
Expand the table of content

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
Show:
© 2015 Microsoft