<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:himajin100000@gmail.com" title="himajin100000@gmail.com">himajin100000@gmail.com</a>
</span> changed
<a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - LibreOffice CALC TBILLYIELD function returns incorrect interest rate (Too low)."
href="https://bugs.documentfoundation.org/show_bug.cgi?id=130823">bug 130823</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>erack@redhat.com
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - LibreOffice CALC TBILLYIELD function returns incorrect interest rate (Too low)."
href="https://bugs.documentfoundation.org/show_bug.cgi?id=130823#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - LibreOffice CALC TBILLYIELD function returns incorrect interest rate (Too low)."
href="https://bugs.documentfoundation.org/show_bug.cgi?id=130823">bug 130823</a>
from <span class="vcard"><a class="email" href="mailto:himajin100000@gmail.com" title="himajin100000@gmail.com">himajin100000@gmail.com</a>
</span></b>
<pre><a href="https://opengrok.libreoffice.org/xref/core/scaddins/source/analysis/financial.cxx?r=3bf3face#381">https://opengrok.libreoffice.org/xref/core/scaddins/source/analysis/financial.cxx?r=3bf3face#381</a>
(100 / 99.8775 - 99.8775 / 99.8775) * 360 / x = 0.014718
=>
x = (100 / 99.8775 - 99.8775 / 99.8775) * 360 / 0.014718 = 30
<a href="https://support.microsoft.com/en-us/office/tbillyield-function-6d381232-f4b0-4cd5-8e97-45b9c03468ba?ui=en-us&rs=en-us&ad=us">https://support.microsoft.com/en-us/office/tbillyield-function-6d381232-f4b0-4cd5-8e97-45b9c03468ba?ui=en-us&rs=en-us&ad=us</a>
(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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>