Files
help/helpcontent2/source/text/scalc/guide/format_value_userdef.xhp
Rüdiger Timm 64eac401b6 INTEGRATION: CWS ooo19126 (1.3.90); FILE MERGED
2005/09/05 18:12:48 rt 1.3.90.1: #i54170# Change license header: remove SISSL
2005-09-07 17:37:02 +00:00

144 lines
6.8 KiB
XML
Executable File

<?xml version="1.0" encoding="UTF-8"?>
<!--***********************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: format_value_userdef.xhp,v $
*
* $Revision: 1.4 $
*
* last change: $Author: rt $ $Date: 2005-09-07 18:37:02 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
*
*
* GNU Lesser General Public License Version 2.1
* =============================================
* Copyright 2005 by Sun Microsystems, Inc.
* 901 San Antonio Road, Palo Alto, CA 94303, USA
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License version 2.1, as published by the Free Software Foundation.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
* MA 02111-1307 USA
*
************************************************************************-->
<helpdocument version="1.0">
<meta>
<topic id="textscalcguideformat_value_userdefxml" indexer="include" status="PUBLISH">
<title id="tit" xml-lang="en-US">User-defined Number Formats</title>
<filename>/text/scalc/guide/format_value_userdef.xhp</filename>
</topic>
<history>
<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
<lastedited date="2004-09-01T17:48:19">converted from old format - fpe
dedr: fixed #i30800#</lastedited>
</history>
</meta>
<body>
<bookmark xml-lang="en-US" branch="index" id="bm_id3143268"><bookmark_value>numbers; user-defined formatting in tables</bookmark_value>
<bookmark_value>formatting; user-defined numbers</bookmark_value>
<bookmark_value>number formats; millions</bookmark_value>
</bookmark>
<paragraph role="heading" id="hd_id3143268" xml-lang="en-US" level="1" l10n="U" oldref="26"><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 role="paragraph" id="par_id3150400" xml-lang="en-US" l10n="U" oldref="1">You can define your own number formats to display numbers in <item type="productname">%PRODUCTNAME</item> Calc.</paragraph>
<paragraph role="paragraph" id="par_id3150767" xml-lang="en-US" l10n="U" oldref="2">As an example, to display the number 10,200,000 as 10.2 Million:</paragraph>
<list type="ordered">
<listitem>
<paragraph role="listitem" id="par_id3150868" xml-lang="en-US" l10n="U" oldref="3">Select the cells to which you want to apply a new, user-defined format.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3149664" xml-lang="en-US" l10n="U" oldref="4">Choose <emph>Format - Cells - Numbers</emph>.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3149260" xml-lang="en-US" l10n="U" oldref="5">In the <emph>Categories</emph> list box select "User-defined".</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3148646" xml-lang="en-US" l10n="U" oldref="6">In the <emph>Format code</emph> text box enter the following code:</paragraph>
<paragraph role="code" id="par_id3152596" xml-lang="en-US" l10n="U" oldref="7">0.0,, "Million"</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3144764" xml-lang="en-US" l10n="U" oldref="8">Click OK.</paragraph>
</listitem>
</list>
<paragraph role="paragraph" id="par_id3155417" xml-lang="en-US" l10n="U" oldref="9">The following table shows the effects of rounding, thousands delimiters (,), decimal delimiters (.) and the placeholders # and 0.</paragraph>
<table id="tbl_id3153157">
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablehead" id="par_id3146971" xml-lang="en-US" l10n="U" oldref="10">Number</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablehead" id="par_id3154757" xml-lang="en-US" l10n="U" oldref="11">.#,, "Million"</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablehead" id="par_id3147338" xml-lang="en-US" l10n="U" oldref="12">0.0,, "Million"</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablehead" id="par_id3146920" xml-lang="en-US" l10n="U" oldref="13">#,, "Million"</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="paragraph" id="par_id3147344" xml-lang="en-US" l10n="U" oldref="14">10200000</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="paragraph" id="par_id3147003" xml-lang="en-US" l10n="U" oldref="15">10.2 Million</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="paragraph" id="par_id3166426" xml-lang="en-US" l10n="U" oldref="16">10.2 Million</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="paragraph" id="par_id3155113" xml-lang="en-US" l10n="U" oldref="17">10 Million</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="paragraph" id="par_id3150369" xml-lang="en-US" l10n="U" oldref="18">500000</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="paragraph" id="par_id3145585" xml-lang="en-US" l10n="U" oldref="19">.5 Million</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="paragraph" id="par_id3154486" xml-lang="en-US" l10n="U" oldref="20">0.5 Million</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="paragraph" id="par_id3146114" xml-lang="en-US" l10n="U" oldref="21">1 Million</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="paragraph" id="par_id3155810" xml-lang="en-US" l10n="U" oldref="22">100000000</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="paragraph" id="par_id3153818" xml-lang="en-US" l10n="U" oldref="23">100. Million</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="paragraph" id="par_id3151241" xml-lang="en-US" l10n="U" oldref="24">100.0 Million</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="paragraph" id="par_id3144771" xml-lang="en-US" l10n="U" oldref="25">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>