Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Books 1-3 - <b>dtor()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 DTOR()
 Converts from a degree to radian measure
------------------------------------------------------------------------------
 Syntax

     DTOR(<nAngle>) --> nArc

 Argument

     <Angle>  Designates a valid angle measurement in degrees.

 Returns

     DTOR() returns the radian of the specified value.

 Description

     In addition to expressing angle measurements in degrees, you may also
     need to express an angle in radians.  With DTOR(), you can convert
     degree measurements into radians.

 Example

     Show some calculations accurate to 15th place:

     ? STR(DTOR(360), 18, 15)     // Result: 6.283185307179588
     ? STR(DTOR(180), 18, 15)     // Result: 3.141592653589794
     ? STR(DTOR(180.5), 18, 15)   // Result: 3.150319299849766
     ? STR(DTOR(720), 18, 15)     // Result: 12.566370614359180
     ? STR(DTOR(-180), 18, 15)    // Result:-3.141592653589794


See Also: RTOD()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson