RAD2DEG

(Difference between revisions)
Jump to: navigation, search
Admin (Talk | contribs)
(Created page with "= <span class="f_Header">Action</span> = Converts a value in radians to degrees. <span style="font-family: Arial;"> </span> <span style="font-family: Arial;"> </s...")
Newer edit →

Revision as of 23:36, 11 February 2013

Contents

Action

Converts a value in radians to degrees.

 

 

Syntax

var = RAD2DEG( Source )

 

 

Remarks

Var

A numeric variable that is assigned with the angle of variable source.

Source

The single or double variable to get the angle of.

 

All trig functions work with radians. Use deg2rad and rad2deg to convert between radians and angles.

 

 

See Also

DEG2RAD

 

 

Example


'-------------------------------------------------------------------------------
'copyright : (c) 1995-2005, MCS Electronics
'micro : Mega48
'suited for demo : yes
'commercial addon needed : no
'purpose : demonstrates DEG2RAD function
 
'-------------------------------------------------------------------------------
Dim S As Single
S = 90
 
S = Deg2Rad(s)
Print S
S = Rad2deg(s)
Print S
End

Languages   English Deutsch  
Personal tools
Namespaces
Variants
Actions
Navigation
In other languages
Language