Fix numbers Engineering notation #400

This commit is contained in:
Chorizorro
2020-12-03 13:32:01 +01:00
parent 8bbec4c8a4
commit 17efc10568
2 changed files with 2 additions and 2 deletions

View File

@@ -1001,7 +1001,7 @@ CM.Disp.Beautify = function(num, frac) {
} }
} }
else if (CM.Config.Scale == 4) { else if (CM.Config.Scale == 4) {
if (um >= 999999) { if (num >= 999999) {
var count = 0; var count = 0;
while (num >= 1000) { while (num >= 1000) {
count++; count++;

View File

@@ -159,7 +159,7 @@ CM.Disp.Beautify = function(num, frac) {
} }
} }
else if (CM.Config.Scale == 4) { else if (CM.Config.Scale == 4) {
if (um >= 999999) { if (num >= 999999) {
var count = 0; var count = 0;
while (num >= 1000) { while (num >= 1000) {
count++; count++;