microsoft / microsoft/calculator

Pasting long decimal number results in Invalid input

Open
#162 14 comments 2 reactions 1 assignee View on GitHub

@grochocki is already working on this.

Since Apr 2, 2019.

Area: User Experience Bug help wanted Pri: 3 triage approved
Dominant language
C#
Stars
31.1k
Forks
5.8k
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
When pasting a decimal number with more than 16 decimal digits, the calculator outputs Invalid input.

Steps To Reproduce
Paste 0.00012345678987654 into the calculator.

Expected behavior
The input to be accepted. If it is too long, trim it, like the Windows 7 calculator does.

Screenshots
image

Device and Application Information (please complete the following information):

  • OS Build: 18334.1.amd64fre.19h1_release.190205-1505
  • Architecture: x64
  • Application Version: 10.1812.10048.0

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.