Skip to content

Commit

Permalink
Update Home.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
tmoindustries authored Apr 29, 2024
1 parent 14000f6 commit 811f27b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -286,11 +286,11 @@ export default {
} else if (price < 0.01) {
return Number(price).toFixed(4);
} else if (price < 0.1) {
return Number(price).toFixed(2);
return Number(price).toFixed(3);
} else if (price < 1) {
return Number(price).toFixed(1);
return Number(price).toFixed(2);
} else if (price < 10) {
return Number(price).toFixed(1);
return Number(price).toFixed(2);
}
}
Expand Down

0 comments on commit 811f27b

Please sign in to comment.