Converts radians to degrees, i.e. (Value*360/2p) MOD 360.
Syntax
RADDEG(Value)
Input
Value | is a value in radians |
Domain type: | any Value domain |
Output
RADDEG returns: | a value in degrees |
Domain: | system domain Value |
Value range: | [0,360] |
Note:
When the input value is undefined, the output will also be undefined.
Tips:
Usable in
MapCalc, TabCalc, Simple calculators
Examples
Pocket line calculator examples:
? RADDEG(1.5708) |
returns 90.00 |
? RADDEG(ATAN(1.732)) | returns 60.00 |
MapCalc example:
OutMap = RADDEG(InMap)
InMap |
OutMap |
||||||||||||||||||
|
|
TabCalc example:
OutCol = RADDEG(InCol)
InCol |
OutCol |
3.1416 |
180 |
1.5708 |
90 |
0.7854 |
45 |
0.5236 |
30 |
0.0000 |
0 |
-1.0472 |
300 |
? |
? |
-0.7854 |
315 |
4.7124 |
270 |
Applied example:
When you wish to convert slope values in percentages (Sloppct) to degrees (Slopdeg), use the following expression:
Slopedeg = RADDEG(ATAN(Slopepct/100))
Slopepct |
Slopedeg |
10 |
5.71 |
25 |
14.04 |
50 |
26.57 |
100 |
45.00 |
173 |
59.97 |
See also: