remove public class field declarations

This commit is contained in:
2020-01-22 19:48:58 +01:00
parent fc26a9914a
commit 9c862c48e1
11 changed files with 36 additions and 117 deletions

View File

@@ -91,7 +91,7 @@ function domainURL() {
return url;
}
function formatDataVolume(amt = 0, precision = 3) {
function formatDataVolume(amt, precision) {
if (precision < 3) { precision = 3; }
if (amt >= 1e12) {
return (amt/1e12).toPrecision(precision) + " TB";