diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2019-06-21 14:27:26 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2019-06-21 14:27:26 -0500 |
| commit | edb849fa819ea3a338860f45b8f88e496fc5e37c (patch) | |
| tree | 65fed2a13c9bcd5873f9b67b364b54179e43c34c /js | |
| parent | d1e8b6f823d85a5d258a5c882aae31afd5d7f530 (diff) | |
| parent | a3c620f78d0ac14703fcb223d7676a48b7c30025 (diff) | |
| download | monzero-gui-edb849fa819ea3a338860f45b8f88e496fc5e37c.tar.gz monzero-gui-edb849fa819ea3a338860f45b8f88e496fc5e37c.tar.xz monzero-gui-edb849fa819ea3a338860f45b8f88e496fc5e37c.zip | |
Merge pull request #2170
a3c620f restore height visibility enhancements (mmbyday)
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(); } |
