[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Formatting cells in a spreadsheet
Hi Karl,
> Numeric3 = HSSFWorkbook_createCellStyle(book);
> TempStr = new_String('##0.000');
> NumFmt = HSSFDataFormat_getFormat(DataFmt: TempStr);
You are telling it to use '##0.000' as the number format. If you want
it to show as a percent, try changing it to something like this:
TempStr = new_String('0.00%');
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------