prevent sci notation
This commit is contained in:
parent
681ee2e143
commit
d8214433e0
@ -137,7 +137,7 @@ export default function RSVPButton({ event }: RSVPButtonProps) {
|
|||||||
}
|
}
|
||||||
>
|
>
|
||||||
<p className="text-muted-forground">
|
<p className="text-muted-forground">
|
||||||
{`Pay ${priceInBTC} BTC (${formatNumber(
|
{`Pay ${priceInBTC.toFixed()} BTC (${formatNumber(
|
||||||
btcToSats(priceInBTC),
|
btcToSats(priceInBTC),
|
||||||
)} sats) for one ticket for ${name}`}
|
)} sats) for one ticket for ${name}`}
|
||||||
</p>
|
</p>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user