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