Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
hibiyasleep committed Dec 14, 2019
1 parent 4341e0f commit 680e5c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions share/lib/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,8 @@ const formatDps = function formatDPSNumberWithSmalls(number, decimals, type) {
} else {
number = number.toFixed(decimals)
}
if(isNaN(number)) {
number = 0
if(number === 'NaN') {
number = '0'.toFixed(decimals)
}

if(number >= 1000) {
Expand Down

0 comments on commit 680e5c9

Please sign in to comment.