Map and Table Calculation

RADDEG( ) function

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

3.1416 1.5708 0.7854
0.5236 0.0000 -1.047
? -0.785 4.7124
180 90 45
30 0 300
? 315 270

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: