do we really need that much precision

This commit is contained in:
2025-11-11 17:25:02 -05:00
parent cfe351d5d7
commit 8e27beb50e

View File

@@ -115,7 +115,7 @@ module.exports = {
const factionFemalePercent = (factionFemales / faction.capacity) * 100; const factionFemalePercent = (factionFemales / faction.capacity) * 100;
message += `\nbtw lol his company has ${companyFemales}/${company.employees_capacity} female employees and ${factionFemales}/${faction.capacity} female faction members\n`; message += `\nbtw lol his company has ${companyFemales}/${company.employees_capacity} female employees and ${factionFemales}/${faction.capacity} female faction members\n`;
message += `thats ${companyFemalePercent.toFixed(2)}% and ${factionFemalePercent.toFixed(2)}% respectively, and last i checked, torn has a 13.43% female population`; message += `thats ${companyFemalePercent.toFixed(0)}% and ${factionFemalePercent.toFixed(0)}% respectively, and last i checked, torn has a 13% female population`;
interaction.reply({ content: message, embeds: [jobEmbed, facEmbed] }); interaction.reply({ content: message, embeds: [jobEmbed, facEmbed] });
}, },
}; };