Package org.apache.poi.ss.formula.eval
Class NumberEval
- java.lang.Object
-
- org.apache.poi.ss.formula.eval.NumberEval
-
- All Implemented Interfaces:
NumericValueEval
,StringValueEval
,ValueEval
public final class NumberEval extends Object implements NumericValueEval, StringValueEval
-
-
Field Summary
Fields Modifier and Type Field Description static NumberEval
ZERO
-
Constructor Summary
Constructors Constructor Description NumberEval(double value)
NumberEval(Ptg ptg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getNumberValue()
String
getStringValue()
String
toString()
-
-
-
Field Detail
-
ZERO
public static final NumberEval ZERO
-
-
Constructor Detail
-
NumberEval
public NumberEval(Ptg ptg)
-
NumberEval
public NumberEval(double value)
-
-
Method Detail
-
getNumberValue
public double getNumberValue()
- Specified by:
getNumberValue
in interfaceNumericValueEval
-
getStringValue
public String getStringValue()
- Specified by:
getStringValue
in interfaceStringValueEval
- Returns:
- never
null
, possibly empty string.
-
-