I am trying very hard to format a cell number, but it is not working as expected.
In my country we use the numbers like this: 1.000,00. The 'comma' to represent the decimal and the 'dot' to represent 'thousand' point.
What I want: The number value to look like this: "0,824".
What I get: the number value looking like this: "823.723.228.995.058,00". (PS: I get this value from a database).
That's really weird.
I am setting the format like this:
worksheet.Cells[row, column].SetFormat(new CellValueFormat("#.##0,00"));
I have already tried a lot of formats, but none of them seems to work as I expect. I aways get the same result.
Is there any other CellValueFormat that I am missing here?
Thank you