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
Hi, first, thank you for your hard work and contributions to the community.
Second, is it possible to render Money.of(USD, 1) as "1" instead of "1.00"? I thought withForcedDecimalPoint(false) might do the trick, but it doesn't...
In short, is there a way to get this test to pass?
MoneyFormatter moneyFormatter = new MoneyFormatterBuilder()
.appendAmountLocalized()
.toFormatter(US);
assertThat(moneyFormatter.print(Money.of(USD, 1))).isEqualTo("1");
The text was updated successfully, but these errors were encountered:
dbaggott
changed the title
Question: does money formatting support "dropping" 0 cents?
Question: does money formatting support rendering $1 instead of $1.00?
Oct 20, 2017
What's the rough scope of adding filtering support, do you already have a clear design in mind and, most importantly, is it something you're interested in PRs for?
Hi, first, thank you for your hard work and contributions to the community.
Second, is it possible to render
Money.of(USD, 1)
as "1" instead of "1.00"? I thoughtwithForcedDecimalPoint(false)
might do the trick, but it doesn't...In short, is there a way to get this test to pass?
The text was updated successfully, but these errors were encountered: