Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I got a change request from a customer to make sure that the prices in the cart overview were maximum 2 digits.
Comment | File | Size | Author |
---|---|---|---|
#7 | use_maximum_fraction-2842920-7.patch | 1009 bytes | borisson_ |
Comments
Comment #2
borisson_This resolved my ticket internally, hopefully this can help others as well. This needs tests as it currently doesn't have any.
Comment #3
borisson_Actually that didn't work for the views footer area. Attached patch does.
Comment #4
borisson_Comment #5
ayalon CreditAttribution: ayalon commentedThank you for that patch. This was exactly what I needed for the Swiss CHF Currency aswell.
Tested and it works well in all related views.
Comment #6
borisson_Patch in #4 doesn't do what the title said.
Also setting back to needs work for test-coverage.
Comment #7
borisson_Needed a reroll for the RC.
Comment #8
edurenye CreditAttribution: edurenye as a volunteer commentedNow this is done in 'intl/src/Formatter/CurrencyFormatter.php'
So, we can close the issue.