Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use Decimal for prices instead of money
- money doesn't suite best because it uses currencies that don't occur in the domain - the implementation is more straightforward - had to fix PriceTest, because the library always produces numbers with the same scale
- Loading branch information
Svaťa Šimara
committed
Jan 28, 2019
1 parent
3f9dc5d
commit 9316b95
Showing
3 changed files
with
17 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters