I am using POI to read an excel. In some point I read a cell
while(rowIterator.hasNext()) { //read the rows
Row row = rowIterator.next();
String quantity = row.getCell(4).toString(); // it returns a string in 1000.0
}
Why I get a string 1000.0
and not 1000
? The values in the excel are in General format, without the .
e.g 1000, 234, 33, 102 etc..