Kotlinç¨Apache POIã®ã©ããã¼ã©ã¤ãã©ãªã¼KExcelAPIããªãªã¼ã¹ãã¾ããã github.com ãã¨ãã¨Groovyç¨ã®GExcelAPIã¨ããã©ã¤ãã©ãªã¼ããããããã便å©ãããªããKotlinçãä½æãã¾ããã ã³ã¼ãã®ã¤ã¡ã¼ã¸ã¯æ¬¡ã®ããã«ãªãã¾ãã // ç°¡åã«ãã¡ã¤ã«ãªã¼ãã³ãã¯ãã¼ãº KExcel.open("file/book1.xlsx").use { workbook -> val sheet = workbook.getSheetAt(0) // ã»ã«ã®èªã¿è¾¼ã¿ // ã»ã«åã§ã®ã¢ã¯ã»ã¹ println("""B7=${sheet["B7"].toStr()}""") // ã»ã«ã®ã¤ã³ããã¯ã¹ã§ã®ã¢ã¯ã»ã¹ [x, y] println("B7=${sheet[1, 6].toDouble()}") println("B7=${sheet[1, 6].
{{#tags}}- {{label}}
{{/tags}}