summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorliongold <beimaginativeegroup@gmail.com>2016-11-21 20:43:37 +0000
committerOlivier Hallot <olivier.hallot@edx.srv.br>2016-12-05 23:01:35 +0000
commit75c62b4a8207e56c9998429a07760350badc9ded (patch)
tree568e134dcef1ee852907134f16e5cc5d6ba8e251
parentd4d4804eaf0276e2ab3d3a990d66915c75b1cec9 (diff)
tdf#101140 Adding Help for RAWSUBTRACT function
Change-Id: I8eba1c661a31766a5fd84489e4a7db46d5570f73 Reviewed-on: https://gerrit.libreoffice.org/31086 Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br> Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
-rw-r--r--AllLangHelp_scalc.mk1
-rw-r--r--source/text/scalc/01/04060106.xhp4
-rw-r--r--source/text/scalc/01/func_rawsubtract.xhp34
3 files changed, 39 insertions, 0 deletions
diff --git a/AllLangHelp_scalc.mk b/AllLangHelp_scalc.mk
index e9cb0837e..625811584 100644
--- a/AllLangHelp_scalc.mk
+++ b/AllLangHelp_scalc.mk
@@ -226,6 +226,7 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,scalc,\
helpcontent2/source/text/scalc/01/func_workdays.intl \
helpcontent2/source/text/scalc/01/func_numbervalue \
helpcontent2/source/text/scalc/01/func_now \
+ helpcontent2/source/text/scalc/01/func_rawsubtract \
helpcontent2/source/text/scalc/01/func_second \
helpcontent2/source/text/scalc/01/func_skewp \
helpcontent2/source/text/scalc/01/func_sumifs \
diff --git a/source/text/scalc/01/04060106.xhp b/source/text/scalc/01/04060106.xhp
index 93f9f27ab..eb746e39b 100644
--- a/source/text/scalc/01/04060106.xhp
+++ b/source/text/scalc/01/04060106.xhp
@@ -912,6 +912,10 @@
<paragraph id="par_id3939634" role="paragraph" xml-lang="en-US"><item type="input">=RADIANS(90)</item> returns 1.5707963267949, which is PI/2 to Calc's accuracy.</paragraph><comment>see also DEGREES</comment>
</section>
+<section id="Section67">
+<paragraph id="par_2016112109351" role="heading" level="2" localize="false" xml-lang="en-US"><embed href="text/scalc/01/func_rawsubtract.xhp#rawsubtract_function"/></paragraph>
+</section>
+
<section id="Section21">
<bookmark xml-lang="en-US" branch="index" id="bm_id3158121">
<bookmark_value>ROUND function</bookmark_value>
diff --git a/source/text/scalc/01/func_rawsubtract.xhp b/source/text/scalc/01/func_rawsubtract.xhp
new file mode 100644
index 000000000..eb6935afd
--- /dev/null
+++ b/source/text/scalc/01/func_rawsubtract.xhp
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+<!--
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+-->
+<meta>
+ <topic id="textscalc01func_rawsubtractxml">
+ <title id="tit" xml-lang="en-US">RAWSUBTRACT function</title>
+ <filename>text/scalc/01/func_rawsubtract.xhp</filename>
+ </topic>
+</meta>
+<body>
+ <section id="rawsubtract_function">
+ <bookmark xml-lang="en-US" branch="hid/SC_OPCODE_RAWSUBTRACT" id="bm_2016112109239" localize="false"/>
+ <bookmark xml-lang="en-US" branch="index" id="bm_2016112109230">
+ <bookmark_value>rawsubtract;subtraction</bookmark_value>
+ <bookmark_value>RAWSUBTRACT function</bookmark_value>
+ </bookmark>
+ <paragraph id="hd_2016112109231" role="heading" level="2" xml-lang="en-US"><variable id="rawsubtract_head"><link href="text/scalc/01/func_rawsubtract.xhp">RAWSUBTRACT</link></variable></paragraph>
+ <paragraph id="par_2016112109232" role="paragraph" xml-lang="en-US"><ahelp hid=".">Subtracts a set of numbers and gives the result without eliminating small roundoff errors. </ahelp></paragraph>
+ <embed href="text/scalc/01/ful_func.xhp#func_head_syntax"/>
+ <paragraph id="par_2016112109233" role="code" xml-lang="en-US">RAWSUBTRACT(Minuend, Subtrahend1, Subtrahend2, ...)</paragraph>
+ <paragraph id="par_2016112109234" role="paragraph" xml-lang="en-US">Subtracts the subtrahend(s) from the minuend without eliminating roundoff errors. The function should be called with at least two parameters.</paragraph>
+ <embed href="text/scalc/01/ful_func.xhp#func_head_example"/>
+ <paragraph id="par_2016112109235" role="paragraph" xml-lang="en-US"><item type="literal">RAWSUBTRACT(0.987654321098765, 0.9876543210987)</item> returns 6.53921361504217E-14</paragraph>
+ <paragraph id="par_2016112109237" role="paragraph" xml-lang="en-US"><item type="literal">RAWSUBTRACT(0.987654321098765)</item> returns Err:511 (Missing variable) because RAWSUBTRACT requires a minimum of two numbers. </paragraph>
+ </section>
+</body>
+</helpdocument> \ No newline at end of file