https://issues.apache.org/bugzilla/show_bug.cgi?id=55265

--- Comment #4 from Marc <[email protected]> ---
* If I set the cell format to 3, everything is OK. Numbers are shown as 0 or
1'000 or 1'000'000. Currently I implemented this:

cell.setDataFormat((short) 3);

And this works as it should.

* I use a native US English Windows environment (OS Windows 8 and Office 2013).
Changing the Windows format (in Control Panel > Region) from "German
(Switzerland)" to "United States" gives following results: 

- using cell.setDataFormat((short) 3): the Excel sheet format "magically"
changes from 1'000 to 1,000 (US locale). All numbers are correct (0, 1'000,
1'000'000).
- using cellStyle.setDataFormat(format.getFormat("#'##0")): nothing changes.
The numbers are always in a wrong format like '0, 1'000 or 1000'000

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to