Help me please. I do not understand

private void cellB(int size, bool bold, int x, int y, string val) { objrange = worksheet.Cells[x, y]; if (objrange != null) { range = (Range)objrange; range.Font.Name = "Arial"; range.Font.Size = size; range.Font.Bold = bold; range.Value2 = val; range.Borders.LineStyle = 1; range.NumberFormat = "### ##0,00"; range = null; } } 

Here I used to do number number normally. Now the numbers 1 ala 001 have become, in general, the toli delimeter has died, the toli, I have completely lost my mind: (

translated from framework 2.0 to framework 4.0

    1 answer 1

    With the rollback of the backup and the transition from 2.0 to 3.5, everything became normal (it had to be done for interop.Excel). When using OpenXML, it is enough to specify the correct delimiter.