mirror of https://github.com/apache/poi.git
small refactor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1901259 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
35be1fd6c0
commit
4b995b5906
|
@ -43,10 +43,10 @@ public final class DAverage implements IDStarAlgorithm {
|
|||
|
||||
@Override
|
||||
public ValueEval getResult() {
|
||||
return count == 0 ? NumberEval.ZERO : new NumberEval(divide());
|
||||
return count == 0 ? NumberEval.ZERO : new NumberEval(getAverage());
|
||||
}
|
||||
|
||||
private double divide() {
|
||||
private double getAverage() {
|
||||
return divide(total, count);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue