how to add number to excel sheet work book cell?
807580Jul 15 2010 — edited Jul 19 2010I am trying to create an excel sheet dynamically. I am able to create and populate the data as well.
But in one of the cell I have to add 1.0 value. Since I have added this as a new Label(...), after opening the excel sheet I can see an icon in the cell with message as "Number in this cell is formed as a text".
SO I have changed Label to Number while adding to cell.
I am using the format as "#.#". Othen than 1.0 everything I can see in the cell as x.y format. Like 1.2, 5.7 etc...
But for 1.0 I can see as "1." only.
Is there any way to write 1.0 to cell as a number.
I am using jxl.jar for excel.