There are 52 weeks in a year, so weeklySalary = yearlySalary / 52
. If you want hourly, there are 40 working hours in a week, so hourlySalary = weeklySalary / 40
.
0
solved Converting Yearly Salary to Weekly in Swift
There are 52 weeks in a year, so weeklySalary = yearlySalary / 52
. If you want hourly, there are 40 working hours in a week, so hourlySalary = weeklySalary / 40
.
0
solved Converting Yearly Salary to Weekly in Swift