BigIntMoneyStrategy
A MoneyStrategy that stores monetary values as a bigint type in the database, which
allows values up to ~9 quadrillion to be stored (limited by JavaScript's MAX_SAFE_INTEGER limit).
This strategy also slightly differs in the way rounding is performed, with rounding being done after multiplying the unit price, rather than before (as is the case with the DefaultMoneyStrategy.
- Implements:
MoneyStrategy
Was this chapter helpful?