Skip to content

Commit

Permalink
Forgotten percent
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeysova committed Oct 5, 2022
1 parent 6cd3a26 commit 0640306
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14968,7 +14968,7 @@ function main() {
if (value === 0) {
return '=';
}
return `${value > 0 ? '+' : ''}${value.toFixed(2)}`;
return `${value > 0 ? '+' : ''}${value.toFixed(2)}%`;
}
function applyExists(value, fn) {
if (value === null)
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ async function main() {
if (value === 0) {
return '=';
}
return `${value > 0 ? '+' : ''}${value.toFixed(2)}`;
return `${value > 0 ? '+' : ''}${value.toFixed(2)}%`;
}
function applyExists(value: number | null, fn: (value: number) => string) {
if (value === null) return '';
Expand Down

0 comments on commit 0640306

Please sign in to comment.