2016-03-18 11:36:04 +00:00
|
|
|
{{DISPLAYTITLE:_D2R}}
|
2017-10-10 14:55:21 +00:00
|
|
|
The [[_D2R]] function converts a '''degree''' value into a '''radian''' value.
|
2016-03-18 11:36:04 +00:00
|
|
|
|
|
|
|
|
|
|
|
{{PageSyntax}}
|
2017-10-10 14:55:21 +00:00
|
|
|
:: {{Parameter|result}} = [[_D2R]]({{Parameter|num}})
|
2016-03-18 11:36:04 +00:00
|
|
|
|
|
|
|
|
2021-04-25 22:40:25 +00:00
|
|
|
{{PageAvailability}}
|
|
|
|
* Version 1.000 and up.
|
2016-03-18 11:36:04 +00:00
|
|
|
|
|
|
|
|
2017-10-10 14:55:21 +00:00
|
|
|
{{PageExamples}}
|
2016-03-18 11:36:04 +00:00
|
|
|
''Example:'' Coverting Degrees into Radians.
|
|
|
|
{{CodeStart}}
|
2019-04-15 01:15:33 +00:00
|
|
|
INPUT "Give me an angle in Degrees ", D
|
2016-03-18 11:36:04 +00:00
|
|
|
R = _D2R(D)
|
2019-04-15 01:15:33 +00:00
|
|
|
PRINT "That angle in Radians is "; R
|
2016-03-18 11:36:04 +00:00
|
|
|
{{CodeEnd}}
|
|
|
|
{{OutputStart}}
|
|
|
|
Give me an angle in Degrees 60
|
|
|
|
That angle in Radians is 1.047198
|
|
|
|
{{OutputEnd}}
|
|
|
|
|
|
|
|
|
2017-10-10 14:55:21 +00:00
|
|
|
{{PageSeeAlso}}
|
2016-03-18 11:36:04 +00:00
|
|
|
* [[_D2G]], [[_D2R]]
|
|
|
|
* [[_G2D]], [[_G2R]]
|
|
|
|
* [[_R2D]], [[_R2G]]
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-04-15 01:15:33 +00:00
|
|
|
{{PageNavigation}}
|