[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.birt] Re: Chaning thousand separator

Ralf,

I should have checked this first. If you set the locale to Switzerland, the separator is changed automatically. What you want is already in the engine. To test set the locale on the url or while in the designer change it here:

window->preferences->Report Design->Preview->Choose your locale

This allows you to change the locale for testing purposes.

Jason

Ralf Grewe wrote:
Hi Jason!

Thanks for this one. Nevertheless the customer who asked for using the
apostrophe as thousand separator works in Switzerland. Consequently he
wants to use this special thousand separator in general. It might be very
useful to set the separator globally in the report. I would also be very
nice if the report engine looks for the system's locale and then choose the
specific thousand separator. I think I will create a future request for
this.

I've studied the JavaDoc for the DecimalFormat class. I cannot see that you
can set the thousand separator via a pattern. Consquently you will have to
use the scripting functionality of BIRT. Am I right?


Ralf