summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Fanning <stevemfanning@yahoo.co.uk>2021-02-02 21:12:44 +0100
committerOlivier Hallot <olivier.hallot@libreoffice.org>2021-02-03 02:49:34 +0100
commit24f765784f3a0e4d71df778da249b1f33841e460 (patch)
tree5380b455580a0343028cd3b78bb940bed1bc893d
parentca492b44070afd6338c18efd4fdf595e51155254 (diff)
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@libreoffice.org>
-rw-r--r--source/text/scalc/01/04060103.xhp3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/text/scalc/01/04060103.xhp b/source/text/scalc/01/04060103.xhp
index c4f98fe89d..7145fc474b 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>