Microsoft/calculator

Entering negative exponents in Scientific mode is not supported

Open

#1,311 建立於 2020年7月12日

在 GitHub 查看
 (16 留言) (15 反應) (0 負責人)C++ (16,196 star) (2,422 fork)batch import
Area: User ExperienceBugPri: 2help wantedtriage approved

描述

Describe the bug The Calculator app does not support entering negative exponents. For example, in the Scientific mode, we can enter "2.6e2" produces the expected output 260 but trying to type "2.6e-2" does not give 0.026 as it should. I even tried to put the -2 within parentheses to make sure it understands that the dash symbol is not for subtraction here but even that fails.

Steps To Reproduce

  1. Open the Calculator app in Scientific mode.
  2. Type "2.6e-2" and attempt to calculate it.
  3. The answer reported back is 0.6 instead of the expected 0.026.

Expected behavior The Calculator app should ideally support entering negative exponents and on typing "2.6e-2" in Scientific mode, it should understand that a dash following an exponent symbol 'e' is not supposed to mean subtraction but a negation.

Screenshots image

Device and Application Information

  • OS: Windows 10 Home Insider Preview Single Language
  • OS Build: 10 - 0 -20161 - 0 (20161.rs_prerelease.200627-1754)
  • Architecture: x64
  • Application Version: 10.2005.23.0

Requested Assignment I'm just reporting this problem. I don't want to fix it.

貢獻者指南