You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's introduce jcabi-cash with com.jcabi.cash.Cash class for multi-currency monetary values:
Cashcash = newCash("USD 120.50")
.precision(3) // three digits after dot, instead of default two
.add(newCash("EUR 19.00"))
.exchange(Currency.GBP)
.mul(2.5f);
It should also support Locale.
The text was updated successfully, but these errors were encountered:
Similar library: http://joda-money.sourceforge.net/. The main problem with joda library is that it doesn't support multiple currencies in one monetary value.
Let's introduce
jcabi-cash
withcom.jcabi.cash.Cash
class for multi-currency monetary values:It should also support
Locale
.The text was updated successfully, but these errors were encountered: