Round income tax to nearest dollar

This commit is contained in:
Vortrex
2022-05-22 23:35:34 -05:00
parent 2d05b5b893
commit b211918122

View File

@@ -41,7 +41,7 @@ function playerPayDay(client) {
grossIncome = grossIncome*2;
}
let incomeTaxAmount = calculateIncomeTax(wealth);
let incomeTaxAmount = Math.round(calculateIncomeTax(wealth));
let netIncome = grossIncome-incomeTaxAmount;