1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-01 15:00:38 +00:00
QB64-PE/internal/help/_R2D.txt

35 lines
593 B
Plaintext
Raw Normal View History

2016-03-18 11:36:04 +00:00
{{DISPLAYTITLE:_R2D}}
2017-10-10 14:55:21 +00:00
The [[_R2D]] function converts a '''radian''' value into a '''degree''' value.
2016-03-18 11:36:04 +00:00
{{PageSyntax}}
2017-10-10 14:55:21 +00:00
: {{Parameter|result!}} = [[_R2D]]({{Parameter|num}})
2016-03-18 11:36:04 +00:00
==Availability==
* '''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 Radian into Degree.
{{CodeStart}}
2019-04-15 01:15:33 +00:00
INPUT "Give me an angle in Radians ", D
2016-03-18 11:36:04 +00:00
R = _R2D(D)
2019-04-15 01:15:33 +00:00
PRINT "That angle in Degrees is "; R
2016-03-18 11:36:04 +00:00
{{CodeEnd}}
{{OutputStart}}
Give me an angle in Radians 0.5
That angle in Degrees is 28.64789
{{OutputEnd}}
2017-10-10 14:55:21 +00:00
{{PageSeeAlso}}
2016-03-18 11:36:04 +00:00
* [[_D2G]], [[_D2R]]
* [[_G2D]], [[_G2R]]
* [[_R2G]]
2019-04-15 01:15:33 +00:00
{{PageNavigation}}
<