DMS
Synopsis
Set the angle mode flags to degrees / minutes / seconds
Description
The DMS command sets flags –17 and –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
00to59; - SS expresses the number of seconds of arc and ranges from
00to59; - xxx… expresses the remaining fraction of seconds of arc.
Compatibility
DMS is specific to newRPL and has no direct equivalent in userRPL.
Usage
Input
4: 3: 2: 1: 30.1535 ………………………………………………………………………………………………………… DMS SIN
Output
4:
3:
2:
1: 0.503920549537.
…………………………………………………………………………………………………………
Related Commands
| Command | Short Description | |
|---|---|---|
| SETLOCALE | Change the separator symbols | NEW |
| SETNFMT | Change the display format for numbers | NEW |
| SF | Set a flag | |
| CF | Clear a flag | |
| FC? | Test if a flag is clear | |
| FS? | Test if a flag is set | |
| FC?C | Test if a flag is clear, then clear it | |
| FS?C | Test if a flag is set, then clear it | |
| TMENU | Display the given menu on the active menu area | CHANGED |
| TMENULST | Display the given menu on the menu area the user used last | NEW |
| TMENUOTHR | Display the given menu on the menu are the user did not use last | NEW |
| MENUSWAP | Swap the contents of menu areas 1 and 2 | NEW |
| MENUBK | Display the previous menu on the active menu area | NEW |
| MENUBKLST | Display the previous menu on the area the user used last | NEW |
| MENUBKOTHR | Display the previous menu on the area the user did not use last | NEW |
| RCLMENU | Recall the active menu | CHANGED |
| RCLMENULST | Recall the menu the user used last | NEW |
| RCLMENUOTHR | Recall the menu the user did not use last | NEW |
| DEG | Set the angle mode flags to degrees | |
| GRAD | Set the angle mode flags to grads (gons) | |
| RAD | Set the angle mode flags to radians | |
| DMS | Set the angle mode to DMS (as DD.MMSS) | |
| ASNKEY | Assign a custom definition to a key | NEW |
| DELKEY | Remove a custom key definition | NEW |
| STOKEYS | Store and replace all custom key definitions | CHANGED |
| RCLKEYS | Recall the list of all custom key definitions | CHANGED |
| TYPE | Get type information from an object | CHANGED |
| TYPEE | Get extended type information from an object | NEW |
| GETLOCALE | Get the current separator symbols | NEW |
| GETNFMT | Recall the current display format for numbers | NEW |
| RCLF | Recall all system flags | CHANGED |
| STOF | Store and replace all system flags | CHANGED |
| VTYPE | Get type information on the contents of a variable | CHANGED |
| VTYPEE | Get extended type information on the contents of a variable | NEW |