==== GRAD ====
----
Set the angle mode flags to gradians
----
^ __Input Stack__ ^ ^ __Output Stack__ ^
| **** | **→** | **** |
| //Level 1// | //→// | //Level 1// |
{{page>manual:chapter6:aux:legend&nofooter&noeditbtn&inline}}
| **Keyword type** | [[manual:chapter5:basics#commands|Command]] ||
| **Parallel list processing capabilities** | [[manual:chapter5:listproc#group-1commands-that-cannot-parallel-process|Group 1]] | //Commands that cannot parallel process// |
| **Affected by flags** | [[manual:appendix:flags#flags-17-18|-17]] | //Default angle unit (bit 0)// |
| ::: | [[manual:appendix:flags#flags-17-18|-18]] | //Default angle unit (bit 1)// |
----
The ''GRAD'' command clears flag [[manual:appendix:flags#flags-17-18|–17]] and sets flag [[manual:appendix:flags#flags-17-18|–18]], and displays the ''∡g'' annunciator.\\
\\
In ''GRAD'' angle mode, real number arguments that represent angles are interpreted as gradians, and real number results that represent angles are expressed in gradians.
----
''GRAD'' is fully equivalent to its **userRPL** counterpart.
----
**__Input__**
4:
3:
2:
1: 100
…………………………………………………………………………………………………………
GRAD SIN
\\
**__Output__**
4:
3:
2:
1: 1
…………………………………………………………………………………………………………
----
{{page>manual:chapter6:flags&nofooter&noeditbtn&inline}}