financial.time_and_half_pay¶
Calculate time and a half pay
Functions¶
|
hours_worked = The total hours worked |
Module Contents¶
- financial.time_and_half_pay.pay(hours_worked: float, pay_rate: float, hours: float = 40) float ¶
hours_worked = The total hours worked pay_rate = Amount of money per hour hours = Number of hours that must be worked before you receive time and a half
>>> pay(41, 1) 41.5 >>> pay(65, 19) 1472.5 >>> pay(10, 1) 10.0