==== A→∡r ==== ---- Convert an angle to radians ---- ^ __Input Stack__ ^ ^ __Output Stack__ ^ | **Num** | **→** | **∡rad** | | **Z** | **→** | **Zrad** | | **∡** | **→** | **∡rad** | | **V** | **→** | **Vrad** | | //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)// | ---- The ''A→∡r'' command turns a scalar or a suitable component of a composite object into an angle measured in radians. In particular, if the component is: * a **scalar**, then the number is interpreted as an angle //in the current angular mode// and converted to radians; * a **polar complex number**, then the angular component is converted to radians; * an **angle**, then the angle is converted to radians; * a **vector**, then any angle or polar complex number //but not scalars// is converted to radians as per above rules. ---- ''A→∡r'' is specific to **newRPL** and has no direct equivalent in **userRPL**. ---- **__Input__** 4: 3: 2: 1: [ #2h ∡20g (1,2) (3,∡5.5°) ] ………………………………………………………………………………………………………… A→∡r \\ **__Output__** 4: 3: 2: 1:[ ∡2r ∡0.31415.r (1,2) (3,∡0.09599.r)… ………………………………………………………………………………………………………… ---- {{page>manual:chapter6:angles&nofooter&noeditbtn&inline}}