Skip to content

Commit

Permalink
Round percentum in output message (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yashko authored Mar 14, 2020
1 parent 8d40a91 commit 403b9b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/output.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const opportunities = lighthouseResult => {
return sortOn(ret, 'label');
};

const convertToPercentum = num => num * 100;
const convertToPercentum = num => Math.round(num * 100);

module.exports = (parameters, response) => {
return Promise.resolve().then(() => {
Expand Down

0 comments on commit 403b9b8

Please sign in to comment.