Skip to content
Property Value
Hex Value $01
Categories
Localizations
  • FR: ►DMS

►DMS

Overview

Displays value in DMS format.

Availability: Token available everywhere.

Syntax

value►DMS

Arguments

NameTypeOptional
value

Location

2nd, angle, ANGLE, 4:DMS


Description

The ►DMS command can be used when displaying a real number on the home screen, or with the Disp and Pause commands. It will then format the number as an angle with degree, minute, and second parts.

30►DMS
    30°0'0"
100/9°►DMS
    11°6'40"

It will also work when displaying a number by putting it on the last line of a program by itself. It does not work with Output(, Text(, or any other more complicated display commands.

Although ►DMS is meant as a way to format angles in Degree mode, it doesn't depend on the angle mode chosen, only on the number itself. Note that entering a number as degree°minute'second" will also work, in any mode, and it will not be converted to radians in Radian mode.

Rounding to Nearest Second

If you'd prefer to not have seconds with decimal places, you can round your answer to the nearest second with the following formula:

round(Ans*3600,0)/3600►DMS

Or a slightly shorter version:

round(Ans36,2)/36►DMS

Tip: If you find yourself needing this formula regularly, put it into a Y= graphing-function as:

Y1=round(X36,2)/36

And then you can call it from your home screen via:

Y1(123.45678►DMS

Error Conditions

  • ERR:SYNTAX is thrown if the command is used somewhere other than the allowed display commands.
  • ERR:DATA TYPE is thrown if the value is complex, or if given a list or matrix as argument.

Source: parts of this page were written by the following TI|BD contributors: burr, DarkerLine, GoVegan, kg583, thornahawk.

History

Calculator OS Version Description
TI-82 1.0 Added

Last update: July 29, 2024 19:47:40
Created: February 23, 2023 23:15:01
Authors: Adrien Bertrand