wood burning stoves 2.0*
The moose likes Other Open Source Projects and the fly likes JasperReport Number Format problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "JasperReport Number Format problem" Watch "JasperReport Number Format problem" New topic
Author

JasperReport Number Format problem

Yaddif Medina
Greenhorn

Joined: Oct 05, 2005
Posts: 23
Hi Friends,

I have a problem with the number format at Jasper. It is not taken the "regional setting" from Linux.

I want to the numbers be shown as : 333,333.33 but when I run jasper at linux it shows : "333.333,33" .

How can i force the jasper (with a function or something) in order to shows the number as the way that I want without care the server where it is running?

(This problem was happened in Java too, but I solved using the DecimalFormat with the US Locale, but i dont know how apply this in Jasper).

Thanks in advance.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JasperReport Number Format problem