[Libreoffice-bugs] [Bug 130823] LibreOffice CALC TBILLYIELD function returns incorrect interest rate (Too low).

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Sep 5 16:05:59 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=130823

himajin100000 at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |erack at redhat.com

--- Comment #9 from himajin100000 at gmail.com ---
https://opengrok.libreoffice.org/xref/core/scaddins/source/analysis/financial.cxx?r=3bf3face#381

(100 / 99.8775 - 99.8775 / 99.8775) * 360 / x = 0.014718
=>
x = (100 / 99.8775 - 99.8775 / 99.8775) * 360 / 0.014718 = 30

https://support.microsoft.com/en-us/office/tbillyield-function-6d381232-f4b0-4cd5-8e97-45b9c03468ba?ui=en-us&rs=en-us&ad=us

(100-99.8775)/99.8775 * 360 / ( DATE(2020,3,24) - DATE(2020,2,25))
= 0.0157693174138322

February has only 28 or 29 days
I'm not familiar with finance, and I don't know which result is expected.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200905/4cb89130/attachment.htm>


More information about the Libreoffice-bugs mailing list