nshiab / journalism

Helper functions for journalism projects.
MIT License
14 stars 5 forks source link

Missing a condition for downpayment in mortgageMaxAmount #77

Closed nshiab closed 7 months ago

nshiab commented 7 months ago

See table 1 here: https://www.canada.ca/en/financial-consumer-agency/services/mortgages/down-payment.html

and code here: https://github.com/nshiab/journalism/blob/50306765032ef3dfa02ed7256908c8626ee02c60/src/finance/mortgageMaxAmount.ts#L208-L216