Show pageDiscussionOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ==== A→∡d ==== <callout type="primary" color="" icon="fa fa-book" title="Synopsis"> ---- Convert an angle to degrees / minutes / seconds </callout> <callout color="green" icon="fa fa-indent" title="Stack Diagram"> ---- ^ __Input Stack__ ^ ^ __Output Stack__ ^ | **Num** | **→** | **∡<sub>dms</sub>** | | **Z** | **→** | **Z<sub>dms</sub>** | | **∡** | **→** | **∡<sub>dms</sub>** | | **V** | **→** | **V<sub>dms</sub>** | | //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-5one-argument-one-result-commands|Group 5]] | //One argument, one result commands// | | **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)// | </callout> <callout color="orangered" icon="fa fa-comment" title="Description"> ---- The ''A→∡d'' command turns a scalar or a suitable component of a composite object into an angle measured in degrees / minutes / seconds. In particular, if the component is: * a **scalar**, then the number is interpreted as an angle //in the current angular mode// and converted to degrees / minutes / seconds; * a **polar complex number**, then the angular component is converted to degrees / minutes / seconds; * an **angle**, then the angle is converted to degrees / minutes / seconds; * a **vector**, then any angle or polar complex number //but not scalars// is converted to degrees / minutes / seconds as per above rules. The angle is displayed 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. </callout> <callout type="danger" icon="true" title="Compatibility"> ---- ''A→∡d'' is specific to **newRPL** and has no direct equivalent in **userRPL**. </callout> <callout type="info" icon="true" title="Usage"> ---- **__Input__** <code> 4: 3: 2: 1: [ #2h ∡20g (1,2) (3,∡5.5°) ] ………………………………………………………………………………………………………… A→∡d </code> \\ **__Output__** <code> 4: 3: 2: 1: [ ∡2d ∡18d (1,2) (3,∡5.3d) ] ………………………………………………………………………………………………………… </code> </callout> <callout color="darkgray" icon="fa fa-hand-o-right" title="Related Commands"> ---- {{page>manual:chapter6:angles&nofooter&noeditbtn&inline}} </callout> manual/chapter6/angles/cmd_angtodms.txt Last modified: 2021/09/16 02:16by jojo1973