We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
master
The code is as follows:
private double CalculateRate(double nper, double pmt, double pv, double fv, double type, double guess) {... f = Math.Exp(nper * Math.Log(1 + rate)); ...}
An early version of POI calculates in the same way:
private double calculateRate(double nper, double pmt, double pv, double fv, doub ... f = Math.exp(nper * Math.log(1 + rate)); ..}
However, the above code is revised:
private double calculateRate(double nper, double pmt, double pv, double fv, doub ... f = Math.pow(1 + rate, nper); ..}
The patch is as follows: apache/poi@728c2d3
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
NPOI Version
master
The code is as follows:
private double CalculateRate(double nper, double pmt, double pv, double fv, double type, double guess)
{...
f = Math.Exp(nper * Math.Log(1 + rate));
...}
An early version of POI calculates in the same way:
private double calculateRate(double nper, double pmt, double pv, double fv, doub
...
f = Math.exp(nper * Math.log(1 + rate));
..}
However, the above code is revised:
private double calculateRate(double nper, double pmt, double pv, double fv, doub
...
f = Math.pow(1 + rate, nper);
..}
The patch is as follows:
apache/poi@728c2d3
The text was updated successfully, but these errors were encountered: