dont double tax my leave, salary is already taxed, so this is probably closer to real - albeit, the after tax average amount vs extra at full 37% tax, its probably a little generous now).

This commit is contained in:
2025-01-30 17:24:20 +11:00
parent b9f54505cc
commit ae867d8fac
2 changed files with 2 additions and 1 deletions

View File

@@ -26,7 +26,8 @@ def calculate_savings_depletion(finance):
# leave in days, 10 business days to a fortnight, salary is per fortnight, and we lose 37% to tax
# (assuming we don't earn over $180k)
D_leave_after_tax = (D_leave_owed_in_days/10) * D_Salary * 0.63;
# if we could stretch this to July 2026, then would be more (due to less tax)
D_leave_after_tax = (D_leave_owed_in_days/10) * D_Salary;
# Constants for interest calculations
annual_interest_rate = Interest_Rate / 100.0

Binary file not shown.