jxl
Interface NumberCell

All Superinterfaces:
Cell
All Known Subinterfaces:
NumberFormulaCell
All Known Implementing Classes:
Number

public interface NumberCell
extends Cell

A cell which contains a numerical value


Method Summary
 java.text.NumberFormat getNumberFormat()
          Gets the NumberFormat used to format this cell.
 double getValue()
          Gets the double contents for this cell.
 
Methods inherited from interface jxl.Cell
getCellFeatures, getCellFormat, getColumn, getContents, getRow, getType, isHidden
 

Method Detail

getValue

public double getValue()
Gets the double contents for this cell.

Returns:
the cell contents

getNumberFormat

public java.text.NumberFormat getNumberFormat()
Gets the NumberFormat used to format this cell. This is the java equivalent of the Excel format

Returns:
the NumberFormat used to format the cell