To be fair, I think he meant he "solved" it by googling and finding a stack overflow link. He wasn't being literal (I thought he was as well at first).
Very true. Different individuals have their own spending amount. I tried to use a reasonable average when adjusting the salaries but if you are far away from average, then your own calculations will be different.