Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create a rounding policy for prices in the pricedb.
Currency-currency prices will be priced in the smaller currency so that the price > 1 and will be rounded to 3 digits after the decimal. Commodity-currency prices will be priced in the currency and rounded to the currency's scu * 10000. This affects only prices stored in the pricedb. Prices in splits will continue to be computed from value/amount.
- Loading branch information
Showing
3 changed files
with
77 additions
and
26 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