-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
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
RATE function misbehaves #905
Comments
Hi @mrfullset-yolk! I investigated your issue. In fact our algorithm is able to compute the correct values for these inputs. The problem is, it takes too many iterations. We'll see what we can do to make it converge faster.
How did you verify that kucukharf's implementation works correctly? Could you share your code? It might be helpful for us. |
Hi @sequba, I've verified that algorithm with provided examples in the issue. kucukharf's implementation returns correct values, which are the same with MS Excel. Currently I'm using his implementation in my project and it works ok. The only code I had is also provided in the description. It was a usual React functional component with only those 2 rows inside. |
Thanks. In the meantime I managed to fix our implementation and it will be included in the upcoming release of HF: #933 |
Description
RATE function misbehaves for some valid inputs.
Examples:
Steps to reproduce
Your environment
MB Pro 2016
macOS 12.2
node v14.17.4
npm v6.14.14
Links
https://gist.github.com/kucukharf/677d8f21660efaa33f72 -- this algorithm works ok. maybe it's ok as a reference for you.
The text was updated successfully, but these errors were encountered: