Comments (7)
Which version of the JSR/Moneta did you use to reproduce that?
from javamoney-examples.
With both 1.0.1-SNAPSHOT as well as 1.0.
from javamoney-examples.
Thanks, that indicates, it wasn't already fixed in master/1.0.1-SNAPSHOT.
We'll look into it, trying to reproduce and when the reason can be found address it in the 1.0.1 codebase. Once other pending issues with that are resolved, at least the RI and where necessary other modules will get a service pack.
from javamoney-examples.
Ok, great. Thank you for the update.
from javamoney-examples.
Any update on this? Is this a problem the Moneta implementation?
from javamoney-examples.
I ran this code, and it's fine.
I believe, it's already fixed.
DecimalFormatSymbols symbols = new DecimalFormatSymbols();
MonetaryAmountFormat fmt =
MonetaryFormats.getAmountFormat (
AmountFormatQueryBuilder.of(Locale.US)
.set(symbols)
.build ());
CurrencyUnit currencyUnit = Monetary.getCurrency(Locale.US);
System.out.println(fmt.format(Money.of(10, currencyUnit)));
from javamoney-examples.
This appears to still be a problem. Is there any other solution? Please see my stack overflow question:
http://stackoverflow.com/questions/42098171/how-to-format-monetaryamount-with-currency-symbol
from javamoney-examples.
Related Issues (20)
- How to write custom ExchangeRateProvider HOT 2
- Example using serializing over the wire? HOT 3
- Migrate JavaFX examples or retire them? HOT 17
- Create Java 9+ examples HOT 1
- Release 1.1
- Update CDI demos to Jakarta EE 9
- Requests rejected by IMF server on a regular basis HOT 1
- How to inject a custom SPI using Spring Injection HOT 7
- Provide serialization example in the docs for Database storage of MonetaryAmount HOT 5
- Why Monetary classes are closed to extension? HOT 2
- Upgrade examples to Log4J 2
- Create JShell example(s)
- Replace Bintray from Examples
- Document how to store money using jpa HOT 2
- Fix critical security issues
- Combine functional-example and functional-examples into javamoney-console-java8
- spring framework, hibernate example HOT 1
- Upgrade JUnit to 5
- Update JavaFX examples to OpenJFX
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from javamoney-examples.