| java.lang.Object org.apache.poi.hssf.record.formula.Ptg org.apache.poi.hssf.record.formula.NumberPtg
NumberPtg | public class NumberPtg extends Ptg (Code) | | Number
Stores a floating point value in a formula
value stored in a 8 byte field using IEEE notation
author: Avik Sengupta author: Jason Height (jheight at chariot dot net dot au) |
Field Summary | |
final public static int | SIZE | final public static byte | sid |
Constructor Summary | |
public | NumberPtg(RecordInputStream in) | public | NumberPtg(String value) Create a NumberPtg from a string representation of the number
Number format is not checked, it is expected to be validated in the parser
that calls this method. |
SIZE | final public static int SIZE(Code) | | |
sid | final public static byte sid(Code) | | |
NumberPtg | public NumberPtg(String value)(Code) | | Create a NumberPtg from a string representation of the number
Number format is not checked, it is expected to be validated in the parser
that calls this method.
Parameters: value - : String representation of a floating point number |
getDefaultOperandClass | public byte getDefaultOperandClass()(Code) | | |
getSize | public int getSize()(Code) | | |
getValue | public double getValue()(Code) | | |
setValue | public void setValue(double value)(Code) | | |
writeBytes | public void writeBytes(byte[] array, int offset)(Code) | | |
|
|