0

I have a code that will gather a number from excel file and store it into DB MySql.

String P01_PickModul = row.getCell(13).getStringCellValue();

The problem is i can not gather the number with more decimal, for example 1.04166666666667

I set the data type on sql as double.

Can you help me with this issue? thank you.

2 Answers2

0

try using long as the data type and check weather it works.

Nomesh Gajare
  • 855
  • 2
  • 12
  • 28
0

try row.getDouble(13) and your pick modul should be double, but I dont know, what type your "row" is so it maybe won't work

Miloš Lukačka
  • 842
  • 1
  • 11
  • 25