summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Fanning <stevemfanning@yahoo.co.uk>2020-05-26 13:37:10 +0200
committerOlivier Hallot <olivier.hallot@libreoffice.org>2020-05-26 13:57:12 +0200
commit0e5f1058e25d21ea590e3fbfc6c87e925b791fc5 (patch)
tree5fd0eaf88bbf116e6198dcf74ec525be1d161e2b
parentTranslating these is not worth it (diff)
downloadhelp-0e5f1058e25d21ea590e3fbfc6c87e925b791fc5.zip
help-0e5f1058e25d21ea590e3fbfc6c87e925b791fc5.tar.gz
Add square brackets around final parameter in syntax statement (to indicate parameter is optional)
Change-Id: I6ef58dab8926eb739b7477493ce228e43606124c Reviewed-on: https://gerrit.libreoffice.org/c/help/+/94833 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
-rw-r--r--source/text/scalc/01/func_yearfrac.xhp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/text/scalc/01/func_yearfrac.xhp b/source/text/scalc/01/func_yearfrac.xhp
index 059a0e2..86c3b56 100644
--- a/source/text/scalc/01/func_yearfrac.xhp
+++ b/source/text/scalc/01/func_yearfrac.xhp
@@ -31,7 +31,7 @@
<paragraph role="paragraph" id="par_id3150899" xml-lang="en-US"><ahelp hid="HID_AAI_FUNC_YEARFRAC">The result is the number of the years (including fractional part) between <emph>StartDate</emph> and <emph>EndDate</emph>.</ahelp></paragraph>
<embed href="text/scalc/01/ODFF.xhp#odff"/>
<embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
-<paragraph role="code" id="par_id3155823" xml-lang="en-US">YEARFRAC(StartDate; EndDate; Basis)</paragraph>
+<paragraph role="code" id="par_id3155823" xml-lang="en-US">YEARFRAC(StartDate; EndDate[; Basis])</paragraph>
<paragraph role="paragraph" id="par_id3145144" xml-lang="en-US">
<emph>StartDate</emph> and <emph>EndDate</emph> are two date values.</paragraph>
<section id="basis">