How do I edit pattern in DataFormatter?
问题 I want to read data in Excel with Java, and data of cell in Excel got 2 types is NUMERIC and STRING . So when I want to read the data as a NUMERIC , it only displays numbers 101125340004 , not like this 1.01E+11 because it is a telephone attribute. My code is working, but for some values (1%) still display floating-point number but they are actually integers, and I don't know why. Data in sheet of Excel 365 DataFormatter fmt = new DataFormatter(); if (cellType.toString().equals("NUMERIC"))