Revert to "Format results"
This reverts commit ae35e0693a24a48473819d567420aa834ca0de54.
This commit is contained in:
parent
bf032fa8b6
commit
246d0dcf31
1 changed files with 1 additions and 1 deletions
|
|
@ -173,7 +173,7 @@ function Calculator(str) {
|
|||
|
||||
|
||||
if ((a || a == "0") && !op && !b) {
|
||||
return formatResult(a);
|
||||
return a;
|
||||
}
|
||||
if (isNaN(a) || isNaN(b)) {
|
||||
return NaN;
|
||||
|
|
|
|||
Loading…
Reference in a new issue