microsoft / microsoft/calculator

Update Angle Converter to Support Degrees, Minutes, Seconds Format For Conversions

Open
#243 5 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Enhancement help wanted needs spec Pri: 2
Dominant language
C#
Stars
31.1k
Forks
5.8k
PR merge metrics
No merged PRs in 30d

Description

Problem Statement

The problem is the Angle Converter does not support conversion of an angle represented in the Degree, Minute, Seconds (DMS) format to the other 3 currently supported formats (degrees, gradians, radians).

This is a pain point because DMS is a very commonly used angle format traditionally used by the fields of geography, cartography, and GIS, and not having this conversion in the Windows Calculator forces the user to perform the mathematical calculations themselves or use another converter online.

Evidence or User Insights

Searching online provides hundreds of thousands of search results where users are asking about how to perform this conversion, and many different online calculators that attempt to offer this service. From a more philosophical perspective, the converter is incomplete in supporting a major type of angle representation and we should strive to complete it.

Proposal

The proposal is a new feature that will allow a conversion from any of the other existing supported Angle types.

Goals

The goal is to add a DMS option to the two drop down menus in the Angle Converter page which would allow the user to convert TO the DMS representation as well as FROM the DMS representation. Two additional text boxes would also need to be added for the user to input the minutes and seconds, or there would need to be a way to parse the representation:

30° 15' 50"

This will allow a conversion from any of the other existing supported Angle types.

Non-Goals

Low-Fidelity Concept

After

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the Angle Converter page and inspect how the existing degrees, gradians, and radians dropdowns and inputs are wired. Determine whether DMS should use separate minute and second boxes or parse a representation such as 30° 15' 50". Done means DMS can be selected in either dropdown and converts to and from each existing angle format.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.