Calculating salary value over time