Merge pull request #402 from Chorizorro/fix/misc #400

Hotfix for numbers Engineering notation
This commit is contained in:
DanielNoord
2020-12-03 15:35:36 +01:00
committed by GitHub
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) {
if (um >= 999999) {
if (num >= 999999) {
var count = 0;
while (num >= 1000) {
count++;

View File

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