Sometimes clicking the "%" icon or using the [Shift]+[5] hot key will clear the content in the input box in standard mode.
A team member will update this issue with more details soon.
This is your friendly Microsoft Issue Bot. I created this issue automatically as requested by a team member.
I was able to replicate this issue, it seems that when the calculator does not have a value and the percent is applied, the content in the input box is cleared and set to the 0. This only happens at program enter and when the "C" clear is used, instead of clearing last entry ("CE"). Future uses of the percent button works as intended after a successful operation is parsed.
Reproduction Steps:
- Placed random value in input box after first launching application. Shift+5 (percent sign; clicking also reproduces results), value was reset to zero.
- If another value is placed in the field, and another operator is applied (addition, subtraction, multiplication), the value will parse correctly. Even after another operator was used, returning to the percent immediately after allows it to be used only after a successful operation is completed.
- If the calculator is reset by using "C" to clear all values, percent button is no longer usable again.
It seems that there is a short workaround (simply start with another successful operator first), but I'm not sure why this would be happening. It seems that there is an issue with the calculator not detecting content appropriately after clearing (or entering the program). Potentially an out of bounds issue upon clearing?