prevent sci notation

This commit is contained in:
zmeyer44 2023-11-20 08:04:47 -05:00
parent 681ee2e143
commit d8214433e0

View File

@ -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>