microsoft / calculator

Windows Calculator: A simple yet powerful calculator that ships with Windows
MIT License
29.49k stars 5.34k forks source link

The calculator should accept exponential numbers without sign in scientific mode #267

Closed rudyhuyn closed 5 years ago

rudyhuyn commented 5 years ago

Describe the bug The calculator currently only accepts exponential numbers like 2323e+12 and 23241e-12. The calculator should also accept 2323e12 or 334.232e12 in the Scientific mode.

A comment line 94 of CopyPasteManager.cs also indicates this need:

//-- add support to allow pasting for expressions like 1.3e12(as of now we allow 1.3e+12)

image

Steps To Reproduce

Expected behavior

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

MicrosoftIssueBot commented 5 years ago

This is your friendly Microsoft Issue Bot. I've seen this issue come in and have gone to tell a human about it.

grochocki commented 5 years ago

Thanks for the report! Agree with expected behavior for input without sign:

The calculator should display 2,323.e+12

rudyhuyn commented 5 years ago

Thanks for the report! Agree with expected behavior for input without sign:

The calculator should display 2,323.e+12

OK, I will create the diff tonight once home!