diff options
| author | mmbyday <mmbyday@protonmail.com> | 2019-05-15 00:27:57 -0700 |
|---|---|---|
| committer | mmbyday <mmbyday@protonmail.com> | 2019-05-15 00:37:53 -0700 |
| commit | a3c620f78d0ac14703fcb223d7676a48b7c30025 (patch) | |
| tree | 062b76e01eca5aa9b481e5958cc4ce2b81530dc1 /js | |
| parent | c286c7e5a8e67d769bc9054f661ab742a8b1a5ba (diff) | |
| download | monzero-gui-a3c620f78d0ac14703fcb223d7676a48b7c30025.tar.gz monzero-gui-a3c620f78d0ac14703fcb223d7676a48b7c30025.tar.xz monzero-gui-a3c620f78d0ac14703fcb223d7676a48b7c30025.zip | |
restore height visibility enhancements
Diffstat (limited to 'js')
| -rw-r--r-- | js/Utils.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/js/Utils.js b/js/Utils.js index 1dc359d9..b709b2ce 100644 --- a/js/Utils.js +++ b/js/Utils.js @@ -108,6 +108,10 @@ function epoch(){ return Math.floor((new Date).getTime()/1000); } +function roundDownToNearestThousand(_num){ + return Math.floor(_num/1000.0)*1000 +} + function isAlpha(letter){ return letter.match(/^[A-Za-z0-9]+$/) !== null; } function isLowerCaseChar(letter){ return letter === letter.toLowerCase(); } |
