2016-03-18 11:36:04 +00:00
|
|
|
{{DISPLAYTITLE:_G2R}}
|
2017-10-10 14:55:21 +00:00
|
|
|
The [[_G2R]] function converts a '''gradient''' value into a '''radian''' value.
|
2016-03-18 11:36:04 +00:00
|
|
|
|
|
|
|
|
|
|
|
{{PageSyntax}}
|
2017-10-10 14:55:21 +00:00
|
|
|
: {{Parameter|result}} = [[_G2R]]({{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 Gradient into Radians.
|
|
|
|
{{CodeStart}}
|
2019-04-15 01:15:33 +00:00
|
|
|
INPUT "Give me an angle in Gradient ", D
|
2016-03-18 11:36:04 +00:00
|
|
|
R = _G2R(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 Gradient 60
|
|
|
|
That angle in Radians is .9424778
|
|
|
|
{{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}}
|