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

Olivier Hallot olivier.hallot at libreoffice.org
Tue Feb 20 20:46:36 UTC 2018


 AllLangHelp_scalc.mk                   |    1 
 source/text/scalc/01/func_roundsig.xhp |   44 +++++++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+)

New commits:
commit 1c33fe883610dd1137593fb52d07b2535ad29748
Author: Olivier Hallot <olivier.hallot at libreoffice.org>
Date:   Tue Feb 20 17:37:11 2018 -0300

    tdf#115440 Help page for ROUNDSIG function in Calc
    
    With contributions of jag at psilosoph.de
    and
    dh_twriter at mail.ru
    
    Change-Id: I8885edd02fbe240cf9c287d085ea84da041b51dc
    Reviewed-on: https://gerrit.libreoffice.org/50061
    Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
    Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>

diff --git a/AllLangHelp_scalc.mk b/AllLangHelp_scalc.mk
index ffa8ac033..7af1131cb 100644
--- a/AllLangHelp_scalc.mk
+++ b/AllLangHelp_scalc.mk
@@ -228,6 +228,7 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,scalc,\
     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_roundsig \
     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/func_roundsig.xhp b/source/text/scalc/01/func_roundsig.xhp
new file mode 100644
index 000000000..574db4cf5
--- /dev/null
+++ b/source/text/scalc/01/func_roundsig.xhp
@@ -0,0 +1,44 @@
+<?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="functionroundsig" indexer="include" status="PUBLISH">
+            <title id="tit" xml-lang="en-US">ROUNDSIG Function</title>
+            <filename>/text/scalc/01/func_roundsig.xhp</filename>
+        </topic>
+    </meta>
+    <body>
+    <section id="roundsig">
+        <bookmark id="bm_id391519154702177" xml-lang="en-US" branch="hid/SC_HID_FUNC_ROUNDSIG"  localize="false"/>
+        <bookmark xml-lang="en-US" branch="index" id="bm_id151519154954070">
+            <bookmark_value>ROUNDSIG Function</bookmark_value>
+        </bookmark>
+        <paragraph id="hd_id351519154702177" role="heading" level="1" xml-lang="en-US"><link href="text/scalc/01/func_roundsig.xhp" name="command name">ROUNDSIG</link></paragraph>
+        <paragraph id="par_id921519154702177" role="paragraph" xml-lang="en-US"><variable id="roundsig"><ahelp hid="HID_FUNC_ROUNDSIG">Returns a number rounded to a specified number of significant decimal digits of its normalized floating point notation.</ahelp></variable></paragraph>
+    </section>
+    <embed href="text/scalc/01/ful_func.xhp#func_head_syntax"/>
+    <paragraph role="code" id="par_id291519155534115" xml-lang="en-US">ROUNDSIG( Value; Digits )</paragraph>
+    <paragraph role="paragraph" id="par_id51519155217204" xml-lang="en-US"><emph>Value</emph>: the number to be rounded.</paragraph>
+    <paragraph role="paragraph" id="par_id321519155209912" xml-lang="en-US"><emph>Digits</emph>: the number of decimal places to round.</paragraph>
+
+    <paragraph role="warning" id="par_id371519155264297" xml-lang="en-US"><emph>Digits</emph> must be an integer greater than 0.</paragraph>
+
+    <embed href="text/scalc/01/ful_func.xhp#func_head_example"/>
+
+    <paragraph role="paragraph" id="par_id691519155470333" xml-lang="en-US"><item type="input">=ROUNDSIG(123.456789; 5)</item>  returns 123.46.</paragraph>
+    <paragraph role="paragraph" id="par_id821519155475673" xml-lang="en-US"><item type="input">=ROUNDSIG(0.000123456789; 5)</item>  returns 1.2346E-4</paragraph>
+    <paragraph role="paragraph" id="par_id381519155481234" xml-lang="en-US"><item type="input">=ROUNDSIG(123456789012345; 2)</item>  returns 1.2E13</paragraph>
+    <paragraph role="paragraph" id="par_id231519155486155" xml-lang="en-US"><item type="input">=ROUNDSIG(123456789; 4)</item>  returns 123500000 or 123.5E6</paragraph>
+    <section id="relatedtopics">
+        <paragraph role="paragraph" id="par_id51519156941987" xml-lang="en-US">See also <link href="text/scalc/01/04060106.xhp#Section21" name="ROUND function">ROUND</link>, <link href="text/scalc/01/04060106.xhp#Section7" name="MROUND function">MROUND</link>, <link href="text/scalc/01/04060106.xhp#Section19" name="ROUNDUP function">ROUNDUP</link>, <link href="text/scalc/01/04060106.xhp#Section20" name="ROUNDDOWN function">ROUNDDOWN</link>.</paragraph>
+    </section>
+
+</body>
+</helpdocument>


More information about the Libreoffice-commits mailing list