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

--- Comment #1 from aditsu <[email protected]> ---
Kotlin test code:

import org.apache.poi.ss.usermodel.DataFormatter
import org.apache.poi.ss.usermodel.WorkbookFactory
import java.io.File

fun main() {
        val path = "/home/aditsu/Documents/ccy test.xlsx"
        val wb = WorkbookFactory.create(File(path))
        val sheet = wb.getSheetAt(0)
        val row = sheet.getRow(0)
        val df = DataFormatter()
        for (i in 0..1) {
                val cell = row.getCell(i)
                println(df.formatCellValue(cell))
        }
}

Expected results:
12,345.00 USD
HKD $12,345

Actual results:
12,345.00 [$USD]
[$HKD $]12,345

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to