From 246d0dcf3119afbaf89bd5a25559f57aee9bc367 Mon Sep 17 00:00:00 2001 From: lolabird Date: Fri, 29 Dec 2023 13:26:32 -0700 Subject: [PATCH] Revert to "Format results" This reverts commit ae35e0693a24a48473819d567420aa834ca0de54. --- script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script.js b/script.js index 5f73e7a..0029938 100644 --- a/script.js +++ b/script.js @@ -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;