Improved: Formatting of the decimal numbers (#74)

This commit is contained in:
nobody 2020-08-12 16:11:06 +02:00
parent 94ad3820df
commit 9a22b4a69b
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ statistics._determineInjections = function () {
avg = sum / days > 0 ? sum / days : 0;
avg = Math.round((avg + Number.EPSILON) * 100) / 100;
document.getElementById('avg-quantity').textContent = isNaN(avg) ? '-' : avg;
document.getElementById('avg-quantity').textContent = isNaN(avg) ? '-' : helpers.formatNumber(avg);
document.getElementById('quantity-injected-frameworks').textContent = isNaN(sum) ? '-' : sum;
};