Login  Register

Resultstable and locale

Posted by Wolfgang Gross on Jan 13, 2011; 2:28pm
URL: http://imagej.273.s1.nabble.com/Resultstable-and-locale-tp3685999.html

Hi all,

may I add a small(?) item to the ImageJ wishlist?

Resultstable d2s method contains this line
  dfs = new DecimalFormatSymbols(Locale.US);
which means other Locales are left out in the cold.
Could we have a method like setLocale ... ? That would
be nice for plugins.
Or even better: a global preference parameter eg under Edit|Options|Misc... .

The reason for this: If one copies and pastes from a resultstable
to  EXCEL under a german Windows then EXCEL will take the decimal point  
as thousands separator.

There are workarounds, ok.

Regards
Wolfgang Gross