manual:chapter6:angles:cmd_tagdms

This is an old revision of the document!



Synopsis


Mark a number as an angle in degrees / minutes / seconds

Stack Diagram


Input Stack Output Stack
Num DMS
Level 1 Level 1

Legend

Type Command
Parallel list processing Group 5
Affected by flags None

Description


The →∡d command turns a scalar into an angle measured in degrees / minutes / seconds.

The angle is entered / 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.

When a scalar is converted to an angle in degrees / minutes / seconds no check is performed to ensure that the digits at MM and SS positions range from 00 to 59. However addition of 0 (or multiplication by 1) will return a properly normalized angle.

Compatibility


This command is new in newRPL and does not exist in userRPL.

Usage


Conversion of 30.751

1:                       30.7510
……………………………………………………………………………………
→∡d

will result in $30° 75^{\prime} 10^{\prime\prime}$.

1:                      ∡30.751d
……………………………………………………………………………………

After multiplication by 1

1:                      ∡30.751d
……………………………………………………………………………………
1 *

the angle is normalized to $31° 15^{\prime} 10^{\prime\prime}$.

1:                     ∡31.151.d
……………………………………………………………………………………

Related Commands


Operations with Angles 11 NEW

Command Short Description
→∡° Mark a number as an angle in degrees NEW
→∡r Mark a number as an angle in radians NEW
→∡g Mark a number as an angle in grads (gons) NEW
→∡d Mark a number as an angle in DMS (DD.MMSS) NEW
A→∡° Convert an angle to degrees NEW
A→∡r Convert an angle to radians NEW
A→∡g Convert an angle to grads (gons) NEW
A→∡d Convert an angle to DMS (DD.MMSS) NEW
→RECT Convert vector or complex to cartesian coordinates NEW
→POLAR Convert vector or complex to polar coordinates NEW
→SPHER Convert vector or complex to spherical coordinates NEW
  • manual/chapter6/angles/cmd_tagdms.1573597445.txt.gz
  • Last modified: 2019/11/12 14:24
  • by jojo1973