removed errant console.log
This commit is contained in:
parent
1ddfeac81f
commit
3666900f13
1 changed files with 0 additions and 1 deletions
|
@ -64,7 +64,6 @@ function bytes(num) {
|
||||||
const exponent = Math.min(Math.floor(Math.log10(num) / 3), UNITS.length - 1);
|
const exponent = Math.min(Math.floor(Math.log10(num) / 3), UNITS.length - 1);
|
||||||
const n = Number(num / Math.pow(1024, exponent));
|
const n = Number(num / Math.pow(1024, exponent));
|
||||||
const decimalDigits = Math.floor(n) === n ? 0 : 1;
|
const decimalDigits = Math.floor(n) === n ? 0 : 1;
|
||||||
console.log(n, decimalDigits);
|
|
||||||
let nStr = n.toFixed(decimalDigits);
|
let nStr = n.toFixed(decimalDigits);
|
||||||
if (LOCALIZE_NUMBERS) {
|
if (LOCALIZE_NUMBERS) {
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in a new issue