mirror of
https://github.com/google/nomulus.git
synced 2025-04-30 12:07:51 +02:00
In the case where currency has a zero scale (i.e. JPY), Money.of(currency, 0) throws ArithmeticException because the second argument is handled as a double, and JPY (for example) does not allow decimal precision, even if the decimal is zero. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=129023540 |
||
---|---|---|
.. | ||
BUILD | ||
PricingComponent.java | ||
PricingEngineProxy.java | ||
PricingModule.java | ||
TldSpecificLogicProxy.java |