Closed patrislav closed 3 years ago
This PR adds a new Cost struct that wraps the Decimal in order to provide Hourly and Monthly methods returning per-hour and per-month cost of a component or resource.
Hourly
Monthly
Closes #33
I assume we do not want any information of yearly no?
Not at the moment, but the Cost struct could be easily extended in the future to have a Yearly method or include info about any discounts, etc.
Cost
Yearly
Rebased
This PR adds a new Cost struct that wraps the Decimal in order to provide
Hourly
andMonthly
methods returning per-hour and per-month cost of a component or resource.Closes #33