The right and generic way to format numbers in all reports [message #1022651] |
Fri, 22 March 2013 05:43  |
Eclipse User |
|
|
|
Hi,
i am using locale "no_NO" (norwegian) in my birt report viewer.
I want to have a standard and generic way of formatting all the currency numbers in my different reports, whats the best way of doing this ?
I want to format all currency in this format 1.333.222,05 . but in Report Design if i choose Auto as Locale in format number, it shows the standard norwegian format which is: 1,333,234.56
Is it possible to specify a new standard norwegian format for currency in for example: org.eclipse.birt.report.viewer.nl_no_3.5.0.jar ? or somewhere else...
if i put this line in "beforeFactory" it works though, but this doesnt seem the right way:
reportContext.getDesignHandle().setStringProperty("locale","it_IT");
The other way is to choose Format as Currency and Locale as "italian" for every report, but this does not seem like a generic and good way.
|
|
|
|
Powered by
FUDForum. Page generated in 0.02954 seconds