Navigation: thinBasic Modules > Math > Trigonometric function > RadToDeg |
|
Description
Returns the value of a radian measurement expressed in degrees.
Syntax
n = RadToDeg(nRadValue)
Returns
Number.
Parameters
Name |
Type |
Optional |
Meaning |
nRadValue |
Number |
No |
Any numerical expression |
Remarks
Use RadToDeg to convert angles measured in radians to degrees.
RadToDeg uses the formula:
degrees = Rad * 180 / PI
Restrictions
See also
Examples
© 2004-2008 thinBasic. All rights reserved. | Version 1.7.0.0 | Web Site: http://www.thinbasic.com |