[Libreoffice-commits] help.git: source/text

Steve Fanning (via logerrit) logerrit at kemper.freedesktop.org
Wed Feb 3 01:49:56 UTC 2021


 source/text/scalc/01/04060103.xhp |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 24f765784f3a0e4d71df778da249b1f33841e460
Author:     Steve Fanning <stevemfanning at yahoo.co.uk>
AuthorDate: Tue Feb 2 21:12:44 2021 +0100
Commit:     Olivier Hallot <olivier.hallot at libreoffice.org>
CommitDate: Wed Feb 3 02:49:34 2021 +0100

    Clarify default values in Help description for Calc’s ACCRINTM function.
    
    Specifically, the description of the Par argument should match the corresponding description for the ACCRINT function. It should also include the pinned note that the default applied is an arbitrary value and should perhaps be avoided.
    
    File 04060103.xhp affected.
    
    Change-Id: Ieaf0d3eb23c989ee05e856146c0af3ad720a4fb2
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/110297
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>

diff --git a/source/text/scalc/01/04060103.xhp b/source/text/scalc/01/04060103.xhp
index c4f98fe89..7145fc474 100644
--- a/source/text/scalc/01/04060103.xhp
+++ b/source/text/scalc/01/04060103.xhp
@@ -127,7 +127,8 @@
          <paragraph xml-lang="en-US" id="par_id3153972" role="paragraph">
             <emph>Rate</emph> (required) is the annual nominal rate of interest (coupon interest rate).</paragraph>
          <paragraph xml-lang="en-US" id="par_id3159204" role="paragraph">
-            <emph>Par</emph> (optional) is the par value of the security.</paragraph>
+            <emph>Par</emph> (optional) is the par value of the security. If omitted, a default value of 1000 is used.</paragraph>
+         <note id="par_id481612296978513">We recommend that you always specify the value that you require for ACCRINTM’s <emph>Par</emph> argument, rather than allowing Calc to apply an arbitrary default. This will make your formula easier to understand and easier to maintain.</note>
          <embed href="text/scalc/01/func_yearfrac.xhp#basis"/>
          <embed href="text/scalc/01/common_func.xhp#sectionexample"/>
          <paragraph xml-lang="en-US" id="par_id3154541" role="paragraph">A security is issued on 2001-04-01. The maturity date is set for 2001-06-15. The Rate is 0.1 or 10% and Par is 1000 currency units. The basis of the daily/annual calculation is the daily balance (3). How much interest has accrued?</paragraph>


More information about the Libreoffice-commits mailing list