microsoft / microsoft/calculator
Pasting long decimal number results in Invalid input
Open
@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

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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.