https://issues.apache.org/bugzilla/show_bug.cgi?id=45593





--- Comment #13 from Vinod <[EMAIL PROTECTED]>  2008-08-21 13:24:28 PST ---
Ok, got it. Now I am setting it as follows and it works fine.

----------------------
String outputStr = replaceVariable(inputStr);

try {
        double kkk = Double.parseDouble(outputStr);
        cell.setCellValue(kkk);
} catch (NumberFormatException e) {
        // this is a string, so set as string
        cell.setCellValue(new HSSFRichTextString(outputStr));
}----------------------

Thanks a lot for your help.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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