Context I want to have a standard way of formatting prices regardless of the locale. Currently, the output format is locale-aware (as with NumberForm ...
Context I want to have a standard way of formatting prices regardless of the locale. Currently, the output format is locale-aware (as with NumberForm ...
I have a POJO, which contains a field called price. The field's type is javax.money.MonetaryAmount, so that I can benefit from JSR 354 validation etc ...
Problem description I have a java project with gradle dependency from org.javamoney:moneta:1.3. Also I have two Kubernetes clusters. I deploy my jav ...
I want to use javamoney for making an amort table for loans. I thought of using PresentValueOfAnnuityPayment but was unable to find it in javamoney 1. ...
I am not very much experienced with build systems, but this got me curious. Most libraries use <type>jar</type> (the default) for their d ...
I was just curious if anyone knew whether JSR 354 will have an official implementation as part of any future JDK. JDK 11 JavaDocs JSR354 Referen ...
I'm trying to create a MonetaryAmountFormat that uses the currency unit symbol: (Taken from How to format MonetaryAmount with currency symbol? and ...
I'm working on a real time application that deals with money in different currencies and exchange rates using BigDecimal, however I'm facing some seri ...
During deployment of a Java EE 7 application packaged in a WAR with a minimal entity and a minimal EJB with interface and implementation and ...
I'm interested in incorporating JSR 354 Money API into my application and would like to be able to map MoneyAmount as Embeddable with JPA but we do no ...
I need to do Money calculations in my application that is java 8. Since the operations i need to do are basic operations, i am considering creating my ...
I'm trying to format an amount using the correct formatting rules, given the ISO 4217 numeric currency code. For example, given an amount of 99.99 an ...
I'm trying to Json Serialize a POJO with MonetaryAmount field as a string, but the resulting output does not follow the prescribed shape format. A ...
Edit: This question is intended to be for formatting within the context of JSR-354. An alternative would be to use java.util.CurrencyFormat. But I wan ...
I use jsr-354 org.javamoney.moneta api for Currency. I need to divide money, for example I want set roundings to 0.25 So 100 dollars / 3 should be ...
Here is example code that I'm using with Moneta version 1.1: This should work since I'm converting same object back and forth. Unless I got somethi ...
I have an instance of javax.money.CurrencyUnit and I want to display what is it's name in a given locale (for example "US Dollars", "Euro", "Japenese ...
Why does javax.money.CurrencyUnit not extend from java.io.Serializable? All of its subtypes implement java.io.Serializable, and on top of that, if you ...
I'm trying to perform money conversion with Moneta API, so I call this: Unfortunately I get this exception: I'm pretty sure it is because I am b ...
I'm really confused about how to customize a MonetaryAmountFormat using the Moneta JSR-354 implementation. My intention is to be able to parse both 1 ...