Giter VIP home page Giter VIP logo

Comments (7)

keilw avatar keilw commented on June 30, 2024

Which version of the JSR/Moneta did you use to reproduce that?

from javamoney-examples.

abhishek2bommakanti avatar abhishek2bommakanti commented on June 30, 2024

With both 1.0.1-SNAPSHOT as well as 1.0.

from javamoney-examples.

keilw avatar keilw commented on June 30, 2024

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.

abhishek2bommakanti avatar abhishek2bommakanti commented on June 30, 2024

Ok, great. Thank you for the update.

from javamoney-examples.

rschanafelt avatar rschanafelt commented on June 30, 2024

Any update on this? Is this a problem the Moneta implementation?

from javamoney-examples.

otaviojava avatar otaviojava commented on June 30, 2024

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.

axiopisty avatar axiopisty commented on June 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.