summaryrefslogtreecommitdiffstats
path: root/helpcontent2/source/text/scalc/01/func_rawsubtract.xhp
blob: ac9fd3bf2d37445f8ea06b242e0a66582d586126 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?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>
    <section id="func_rawsubtract">
        <paragraph id="hd_2016112109231" role="heading" level="1" xml-lang="en-US"><link href="text/scalc/01/func_rawsubtract.xhp">RAWSUBTRACT</link></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>
    </section>
    <embed href="text/scalc/00/avail_release.xhp#5.2"/>
    <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
    <paragraph id="par_2016112109233" role="code" xml-lang="en-US">RAWSUBTRACT(Minuend; Subtrahend 1[; Subtrahend 2][; … ;[ Subtrahend 254]])</paragraph>
    <paragraph id="par_2016112109234" role="paragraph" xml-lang="en-US"><emph>Minuend</emph> is a number or a reference to a cell containing a number.</paragraph>
    <paragraph id="par_id241585352178687" role="paragraph" xml-lang="en-US"><emph>Subtrahend 1[; Subtrahend 2][; ... ;[ Subtrahend 254]]</emph> are numbers or references to cells containing numbers.</paragraph>
    <paragraph id="par_2016112109235" role="paragraph" xml-lang="en-US">The function should be called with at least two parameters.</paragraph>
    <embed href="text/scalc/01/common_func.xhp#sectionexample"/>
    <paragraph id="par_2016112109236" role="paragraph" xml-lang="en-US"><input>=RAWSUBTRACT(0.987654321098765, 0.9876543210987)</input> returns 6.53921361504217E-14</paragraph>
    <paragraph id="par_2016112109237" role="paragraph" xml-lang="en-US"><input>=RAWSUBTRACT(0.987654321098765)</input> returns Err:511 (Missing variable) because RAWSUBTRACT requires a minimum of two numbers. </paragraph>
</section>
</body>
</helpdocument>