a class that represents a coin's denomination (unit, subunit and decimals of precision) rather than two constants and a magic number that's scattered around a few functions
does not change behavior
Differential D9656
[refactor] encapsulate a unit's denomination in a class majcosta on Jun 10 2021, 01:12. Authored by
Details
a class that represents a coin's denomination (unit, subunit and decimals of precision) rather than two constants and a magic number that's scattered around a few functions does not change behavior ninja all check-all
Diff Detail
Event TimelineComment Actions You need to add some unit tests for this new Currency object
|