From 43fec97474b65dca9a96848f207dfb788e1bb099 Mon Sep 17 00:00:00 2001 From: filipnyquist Date: Wed, 22 Aug 2018 20:22:28 +0200 Subject: [PATCH] We do not need toFixed, toFloat does this automatically for us. --- bot/modules/claimbot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/modules/claimbot.js b/bot/modules/claimbot.js index b7211f2..94aa42a 100644 --- a/bot/modules/claimbot.js +++ b/bot/modules/claimbot.js @@ -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) === "@") {