Skip to content

Commit 17efc10

Browse files
committed
Fix numbers Engineering notation #400
1 parent 8bbec4c commit 17efc10

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

CookieMonster.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1001,7 +1001,7 @@ CM.Disp.Beautify = function(num, frac) {
10011001
}
10021002
}
10031003
else if (CM.Config.Scale == 4) {
1004-
if (um >= 999999) {
1004+
if (num >= 999999) {
10051005
var count = 0;
10061006
while (num >= 1000) {
10071007
count++;

src/Disp.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ CM.Disp.Beautify = function(num, frac) {
159159
}
160160
}
161161
else if (CM.Config.Scale == 4) {
162-
if (um >= 999999) {
162+
if (num >= 999999) {
163163
var count = 0;
164164
while (num >= 1000) {
165165
count++;

0 commit comments

Comments
 (0)