summaryrefslogtreecommitdiffstats
path: root/helpcontent2/source/text/scalc/guide/format_value_userdef.xhp
diff options
context:
space:
mode:
Diffstat (limited to 'helpcontent2/source/text/scalc/guide/format_value_userdef.xhp')
-rw-r--r--helpcontent2/source/text/scalc/guide/format_value_userdef.xhp124
1 files changed, 124 insertions, 0 deletions
diff --git a/helpcontent2/source/text/scalc/guide/format_value_userdef.xhp b/helpcontent2/source/text/scalc/guide/format_value_userdef.xhp
new file mode 100644
index 000000000..7e3a94932
--- /dev/null
+++ b/helpcontent2/source/text/scalc/guide/format_value_userdef.xhp
@@ -0,0 +1,124 @@
+<?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/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ -->
+
+
+<meta>
+ <topic id="textscalcguideformat_value_userdefxml" indexer="include" status="PUBLISH">
+ <title xml-lang="en-US" id="tit">User-defined Number Formats</title>
+ <filename>/text/scalc/guide/format_value_userdef.xhp</filename>
+ </topic>
+ </meta>
+ <body>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3143268"><bookmark_value>numbers;user-defined formatting</bookmark_value>
+ <bookmark_value>formatting; user-defined numbers</bookmark_value>
+ <bookmark_value>number formats; millions</bookmark_value>
+ <bookmark_value>format codes; user-defined number formats</bookmark_value>
+</bookmark><comment>mw changed "numbers;"</comment>
+<paragraph xml-lang="en-US" id="hd_id3143268" role="heading" level="1"><variable id="format_value_userdef"><link href="text/scalc/guide/format_value_userdef.xhp" name="User-defined Number Formats">User-defined Number Formats</link>
+</variable></paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150400" role="paragraph">You can define your own number formats to display numbers in <item type="productname">%PRODUCTNAME</item> Calc.</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3150767" role="paragraph">As an example, to display the number 10,200,000 as 10.2 Million:</paragraph>
+ <list type="ordered">
+ <listitem>
+ <paragraph xml-lang="en-US" id="par_id3150868" role="listitem">Select the cells to which you want to apply a new, user-defined format.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph xml-lang="en-US" id="par_id3149664" role="listitem">Choose <emph>Format - Cells - Numbers</emph>.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph xml-lang="en-US" id="par_id3149260" role="listitem">In the <emph>Categories</emph> list box select "User-defined".</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph xml-lang="en-US" id="par_id3148646" role="listitem">In the <emph>Format code</emph> text box enter the following code:</paragraph>
+ <paragraph xml-lang="en-US" id="par_id3152596" role="code">0.0,, "Million"</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph xml-lang="en-US" id="par_id3144764" role="listitem">Click OK.</paragraph>
+ </listitem>
+ </list>
+ <paragraph xml-lang="en-US" id="par_id3155417" role="paragraph">The following table shows the effects of rounding, thousands delimiters (,), decimal delimiters (.) and the placeholders # and 0.</paragraph>
+ <table id="tbl_id3153157">
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3146971" role="tablehead">Number</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3154757" role="tablehead">.#,, "Million"</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3147338" role="tablehead">0.0,, "Million"</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3146920" role="tablehead">#,, "Million"</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3147344" role="paragraph">10200000</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3147003" role="paragraph">10.2 Million</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3166426" role="paragraph">10.2 Million</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3155113" role="paragraph">10 Million</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3150369" role="paragraph">500000</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3145585" role="paragraph">.5 Million</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3154486" role="paragraph">0.5 Million</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3146114" role="paragraph">1 Million</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3155810" role="paragraph">100000000</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3153818" role="paragraph">100. Million</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3151241" role="paragraph">100.0 Million</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" id="par_id3144771" role="paragraph">100 Million</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+
+ <section id="relatedtopics">
+ <embed href="text/scalc/guide/format_value.xhp#format_value"/>
+ <embed href="text/scalc/guide/currency_format.xhp#currency_format"/>
+ <embed href="text/scalc/guide/text_numbers.xhp#text_numbers"/>
+ <embed href="text/shared/01/05020301.xhp#zahlenformatcodes"/>
+ </section>
+ </body>
+</helpdocument> \ No newline at end of file