summaryrefslogtreecommitdiff
path: root/source/text/scalc/01/func_roundsig.xhp
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@libreoffice.org>2018-02-20 17:37:11 -0300
committerOlivier Hallot <olivier.hallot@libreoffice.org>2018-02-20 21:46:11 +0100
commit1c33fe883610dd1137593fb52d07b2535ad29748 (patch)
tree24be8c1986d0f9567f58ffdad46ea2e82a022a5c /source/text/scalc/01/func_roundsig.xhp
parent80dbcc34b58f196dc414415e26e750ef4cbcf511 (diff)
tdf#115440 Help page for ROUNDSIG function in Calc
With contributions of jag@psilosoph.de and dh_twriter@mail.ru Change-Id: I8885edd02fbe240cf9c287d085ea84da041b51dc Reviewed-on: https://gerrit.libreoffice.org/50061 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'source/text/scalc/01/func_roundsig.xhp')
-rw-r--r--source/text/scalc/01/func_roundsig.xhp44
1 files changed, 44 insertions, 0 deletions
diff --git a/source/text/scalc/01/func_roundsig.xhp b/source/text/scalc/01/func_roundsig.xhp
new file mode 100644
index 0000000000..574db4cf55
--- /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>