org.apache.poi.hssf.record.formula
Class DividePtg
java.lang.Object
org.apache.poi.hssf.record.formula.Ptg
org.apache.poi.hssf.record.formula.OperationPtg
org.apache.poi.hssf.record.formula.ValueOperatorPtg
org.apache.poi.hssf.record.formula.DividePtg
public final class DividePtg
- extends ValueOperatorPtg
This PTG implements the standard binomial divide "/"
- Author:
- Andrew C. Oliver acoliver at apache dot org, Jason Height (jheight at chariot dot net dot au)
Method Summary |
int |
getNumberOfOperands()
The number of operands expected by the operations |
java.lang.String |
toFormulaString(java.lang.String[] operands)
returns a string representation of the operations
the length of the input array should equal the number returned by |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
sid
public static final byte sid
- See Also:
- Constant Field Values
instance
public static final ValueOperatorPtg instance
getNumberOfOperands
public int getNumberOfOperands()
- Description copied from class:
OperationPtg
- The number of operands expected by the operations
- Specified by:
getNumberOfOperands
in class OperationPtg
toFormulaString
public java.lang.String toFormulaString(java.lang.String[] operands)
- Description copied from class:
OperationPtg
- returns a string representation of the operations
the length of the input array should equal the number returned by
- Specified by:
toFormulaString
in class OperationPtg
- See Also:
OperationPtg.getNumberOfOperands()