Trim decimals

This commit is contained in:
Skylar Grant 2023-01-25 23:19:00 -05:00
parent d6eac632e8
commit f5daa186ac

View File

@ -199,7 +199,7 @@ const functions = {
statusIndicator += `+${hist24hDifference}ft|`
// 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]\`\``;
// Determine if this tree is the guild's tree