Github user cnenning commented on the issue:
https://github.com/apache/struts/pull/138
In our apps we have often demand for locale aware values. But more often we
need dates, not doubles. Mostly we do this by calling java methods in JSPs. But
having converts which do this out of the box would be great.
> Will this break apps with locales which are using different decimal
separator?
Yes, for some apps that would be a breaking change. But IMHO most apps use
number formats which their users expect (-> locale aware number format). So for
most it would be an improvement and they could remove custom code. But still,
some apps might be broken.
I always find it hard to get java `NumberFormat` and `ParsePositon` right.
Not sure if there are subtle bugs in this PR. But there are lots of tests so
hopefully all corner cases are covered ð
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]