Skip to content

Commit

Permalink
Round overall goal percent that is displayed to avoid long repeating …
Browse files Browse the repository at this point in the history
…numbers. (#221)
  • Loading branch information
Sean authored and shawncplus committed Jun 23, 2017
1 parent 29305be commit ce501be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Quest.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class Quest extends EventEmitter {
});

return {
percent: overallPercent / this.goals.length,
percent: Math.round(overallPercent / this.goals.length),
display: overallDisplay.join('\r\n'),
};
}
Expand Down

0 comments on commit ce501be

Please sign in to comment.