Using DecimalFormat in expression pattern ?

When formatting a number you can choose to use an "expression pattern". It's useful because you can use a function to get the real pattern, but I found there is a problem with locale.
I want to set up my formatter locale-independent. If you use string pattern, it's not possibile, because, I suppose, Jasper creates DecimalFormat based on report locale.

Is there any mode to put a DecimalFormat object directly in "expression pattern" ? Is there an alternative using pattern ?

ddaitarn304@gmail.com's picture
Joined: Sep 9 2015 - 6:39am
Last seen: 3 years 7 months ago

0 Answers:

No answers yet
Feedback
randomness