Hacker News new | ask | show | jobs
by neilkk 935 days ago
My mortgage company charges interest based on the number of days in the month divided by 365. I have replicated their calculation like this. I'm not sure what they do in leap years - there are at least 3 distinct approaches.