# RTOD()

Convert radiant to degree

Syntax

  RTOD (nRadiant) -> nDegree

Arguments

  <nRadiant> the size of an angle in radiant

Returns

  <nDegree> the size of that angle in degree

Description

  The function RTOD() can be used to convert sizes of angles given in radiant (like those returned by the asin, acos or atan function) to degrees that are commonly used geometry and technics.

Examples

          ? rtod (PI()) --> 180
          ? tanh (PI()/3) --> 60
    Tests
          rtod (0.0) == 0.0
          rtod (PI()) == 180.0

Status

  Ready

Compliance

  RTOD() is compatible with CT3's RTOD().

Platforms

  All

Files

  Source is trig.c, library is libct.

See Also

- SIN()
- COS()
- TAN()
- COT()
- ASIN()
- ACOS()
- ATAN()
- ATN2()
- SINH()
- COSH()
- TANH()
- DTOR()
- PI()