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

himajin100...@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |er...@redhat.com

--- Comment #9 from himajin100...@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.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to