We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ce0b7e commit 6ade1a2Copy full SHA for 6ade1a2
src/utils.ts
@@ -14,9 +14,9 @@ export const logSuccess = (message: string) => {
14
15
export const format = (price: number) => {
16
const decimalPart = price.toString().split('.')[1]
17
- // If the decimal part starts with 0000, it's likely a meme coin
+ // If the decimal part starts with 000, it's likely a meme coin
18
// and we want to show more decimal places to avoid showing 0.00
19
- const isMemeCoin = decimalPart && decimalPart.slice(0, 4) === '0000'
+ const isMemeCoin = decimalPart && decimalPart.slice(0, 3) === '000'
20
21
return new Intl.NumberFormat('en-US', {
22
style: 'currency',
0 commit comments