Trim decimals
This commit is contained in:
parent
d6eac632e8
commit
f5daa186ac
@ -199,7 +199,7 @@ const functions = {
|
|||||||
statusIndicator += `+${hist24hDifference}ft|`
|
statusIndicator += `+${hist24hDifference}ft|`
|
||||||
|
|
||||||
// Get the watering time for this tree
|
// Get the watering time for this tree
|
||||||
const waterTime = functions.getWaterTime(leaderboardEntry.treeHeight);
|
const waterTime = parseFloat(functions.getWaterTime(leaderboardEntry.treeHeight)).toFixed(0);
|
||||||
statusIndicator += `${waterTime} mins]\`\``;
|
statusIndicator += `${waterTime} mins]\`\``;
|
||||||
|
|
||||||
// Determine if this tree is the guild's tree
|
// Determine if this tree is the guild's tree
|
||||||
|
Loading…
Reference in New Issue
Block a user