Skip to content

Commit

Permalink
set default value on zeros and negatives
Browse files Browse the repository at this point in the history
  • Loading branch information
solaoi committed Mar 30, 2022
1 parent a4a7441 commit 1af76ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions colc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,9 @@ if (binSize === null) {
"count": comma(count),
"sum": comma(sum),
"range": comma(range),
"zeros": comma(zeros),
"zeros": comma(zeros || "0"),
"zeros(%)": comma(zeroRate),
"negatives": comma(negatives),
"negatives": comma(negatives || "0"),
"negatives(%)": comma(negativeRate)
}
const stats = {
Expand Down

0 comments on commit 1af76ef

Please sign in to comment.