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

liongold beimaginativeegroup at gmail.com
Mon Dec 5 23:03:03 UTC 2016


 AllLangHelp_scalc.mk                      |    1 
 source/text/scalc/01/04060106.xhp         |    4 +++
 source/text/scalc/01/func_rawsubtract.xhp |   34 ++++++++++++++++++++++++++++++
 3 files changed, 39 insertions(+)

New commits:
commit 75c62b4a8207e56c9998429a07760350badc9ded
Author: liongold <beimaginativeegroup at gmail.com>
Date:   Mon Nov 21 20:43:37 2016 +0000

    tdf#101140 Adding Help for RAWSUBTRACT function
    
    Change-Id: I8eba1c661a31766a5fd84489e4a7db46d5570f73
    Reviewed-on: https://gerrit.libreoffice.org/31086
    Reviewed-by: Olivier Hallot <olivier.hallot at edx.srv.br>
    Tested-by: Olivier Hallot <olivier.hallot at edx.srv.br>

diff --git a/AllLangHelp_scalc.mk b/AllLangHelp_scalc.mk
index e9cb083..6258115 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 93f9f27..eb746e3 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 0000000..eb6935a
--- /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


More information about the Libreoffice-commits mailing list