microsoft / microsoft/calculator

Length conversion should use Feet + Inches instead of Feet with decimal point

Open
#57 5 comments 11 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
Today, length converter shows decimal values for feet, while in practice, feet + inches are oftentimes used.

Evidence or User Insights
Observation of current behavior and customary use in U.S. and U.K. Details on foot (unit).

Proposal
When converting to feet, in addition to showing the decimal conversion, also include "feet + inches", which is more commonly used when working in this unit. For example, when converting 230cm, Calculator shows 7.545932 feet. It would be more useful if it would also show 7' 6.55" (feet with inches).

Possibly dependent on #379.

Goals

  • Additionally show the "feet and inches" conversion when working with feet in length converter.

Non-Goals

  • Remove decimal representation of values in feet

Low-Fidelity Concept
image

Requested Assignment
I'm just suggesting this idea. I don't want to implement it.

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

No implementation files or tests are named. Start by locating the length converter and its existing feet output, then review how unit conversions are represented in the calculator. Done means retaining decimal feet while also displaying the equivalent feet-and-inches value, including the 230cm example.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.