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:
3
calc.py
3
calc.py
@@ -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
|
||||
|
||||
BIN
finance.db
BIN
finance.db
Binary file not shown.
Reference in New Issue
Block a user