==== DMS ====
----
Set the angle mode flags to degrees / minutes / seconds
----
^ __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 ''DMS'' command sets flags [[manual:appendix:flags#flags-17-18|–17]] and [[manual:appendix:flags#flags-17-18|–18]], and displays the ''∡d'' annunciator.\\
\\
In ''DMS'' angle mode, real number arguments that represent angles are interpreted as degrees / minutes / seconds, and real number results that represent angles are expressed in degrees / minutes / seconds.\\
\\
An angle in ''DMS'' format is written as a real number in the format **DD.MMSSxxx...** where:
* **DD** expresses the number of degrees;
* **MM** expresses the number of minutes of arc and ranges from ''00'' to ''59'';
* **SS** expresses the number of seconds of arc and ranges from ''00'' to ''59'';
* **xxx...** expresses the remaining fraction of seconds of arc.
----
''DMS'' is specific to **newRPL** and has no direct equivalent in **userRPL**.
----
**__Input__**
4:
3:
2:
1: 30.1535
…………………………………………………………………………………………………………
DMS SIN
\\
**__Output__**
4:
3:
2:
1: 0.503920549537.
…………………………………………………………………………………………………………
----
{{page>manual:chapter6:flags&nofooter&noeditbtn&inline}}