Name

radians — convert an angle from degrees to radians

Synopsis

radians( in x double precision);
 

Description

radians converts an angle in degrees to radians. Trigonometric functions such as sin, cos, and tan expect angles in radians. The argument is converted to an IEEE 64-bit float and the result is of that type.

Parameters

x

Angle in degrees, as double precision.

Return Types

radians returns a double precision angle in radians.

Examples

Example 24.529. Simple example

SQL> select radians(180);
unnamed
DOUBLE PRECISION NOT NULL
_______________________________________________________________________________

        3.141592653588824

1 Rows. -- 0 msec.
      

See Also

degrees, pi, sin, cos


© 1992 - OpenLink Software. All rights reserved.

Making Technology Work for You®