Trying to display numbers using custom number format.
Setting the number format as “# ##0,00;-# ##0,00”
space is the thousand separator, comma is decimal separator, and there are 2 digits after decimal.
When I open ex…...string for those numbers gets replaced automatically to some other...your example code, we just replace the line: cellStyle.setCustom(formatStr);...