org.apache.poi.hssf.record.formula.functions
Class FinanceFunction
java.lang.Object
org.apache.poi.hssf.record.formula.functions.NumericFunction
org.apache.poi.hssf.record.formula.functions.NumericFunction.MultiArg
org.apache.poi.hssf.record.formula.functions.FinanceFunction
- All Implemented Interfaces:
- Function
public abstract class FinanceFunction
- extends NumericFunction.MultiArg
- Author:
- Amol S. Deshmukh < amolweb at ya hoo dot com >
Super class for all Evals for financial function evaluation.
Fields inherited from class org.apache.poi.hssf.record.formula.functions.NumericFunction |
ABS, ACOS, ACOSH, ASIN, ASINH, ATAN, ATAN2, ATANH, CEILING, COMBIN, COS, COSH, DEGREES, DOLLAR, EXP, FACT, FLOOR, INT, LN, LOG, LOG10, MOD, POWER, RADIANS, ROUND, ROUNDDOWN, ROUNDUP, SIGN, SIN, SINH, SQRT, TAN, TANH |
Method Summary |
protected double |
evaluate(double[] ds)
|
protected abstract double |
evaluate(double rate,
double arg1,
double arg2,
double arg3,
boolean type)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FV
public static final Function FV
NPER
public static final Function NPER
PMT
public static final Function PMT
PV
public static final Function PV
FinanceFunction
protected FinanceFunction()
evaluate
protected double evaluate(double[] ds)
throws EvaluationException
- Specified by:
evaluate
in class NumericFunction.MultiArg
- Throws:
EvaluationException
evaluate
protected abstract double evaluate(double rate,
double arg1,
double arg2,
double arg3,
boolean type)
throws EvaluationException
- Throws:
EvaluationException
Copyright 2008 The Apache Software Foundation or
its licensors, as applicable.