{
CellValue cellValue;
try
{
double d = Double.parseDouble(textStr);
WritableCellFormat cellStyle = getLoadedCellStyle(baseStyle);
cellValue = new Number(x, y, d, cellStyle);
}
catch (NumberFormatException nfe)
{
cellValue = getLabelCell(x, y, textStr, baseStyle);