We do not need toFixed, toFloat does this automatically for us.

This commit is contained in:
filipnyquist 2018-08-22 20:22:28 +02:00 committed by GitHub
parent 1770f147cf
commit 43fec97474
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -149,7 +149,7 @@ async function announceClaims() {
}
claimEmbed.addField(
"Claimed for",
`${Number.parseFloat(claim.outputValue).toFixed(4)} LBC`
`${Number.parseFloat(claim.outputValue)} LBC`
);
discordPost(claimEmbed);
} else if (claim.name.charAt(0) === "@") {