https://bz.apache.org/bugzilla/show_bug.cgi?id=60389

--- Comment #1 from Zero <tuyen...@gmail.com> ---
Created attachment 34459
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=34459&action=edit
excel formated last row

excel file added formated last row (1048576) as currency (decimal: 0; symbol:
$)

test code:
@Test
public void testGetLastRowNum() throws IOException {
  String filePath = "test-data/60389_get_last_row_num.xlsx";
  try (XSSFWorkbook wb = new XSSFWorkbook(new FileInputStream(filePath))) {
    XSSFSheet sheet = wb.getSheetAt(0);
    System.out.println(sheet.getLastRowNum());
  }
}

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to