1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?> 2*5b00253eSmseidel 3ce44d6c1SAndrew Rist<!--*********************************************************** 4*5b00253eSmseidel * 5ce44d6c1SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 6ce44d6c1SAndrew Rist * or more contributor license agreements. See the NOTICE file 7ce44d6c1SAndrew Rist * distributed with this work for additional information 8ce44d6c1SAndrew Rist * regarding copyright ownership. The ASF licenses this file 9ce44d6c1SAndrew Rist * to you under the Apache License, Version 2.0 (the 10ce44d6c1SAndrew Rist * "License"); you may not use this file except in compliance 11ce44d6c1SAndrew Rist * with the License. You may obtain a copy of the License at 12*5b00253eSmseidel * 13ce44d6c1SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 14*5b00253eSmseidel * 15ce44d6c1SAndrew Rist * Unless required by applicable law or agreed to in writing, 16ce44d6c1SAndrew Rist * software distributed under the License is distributed on an 17ce44d6c1SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 18ce44d6c1SAndrew Rist * KIND, either express or implied. See the License for the 19ce44d6c1SAndrew Rist * specific language governing permissions and limitations 20ce44d6c1SAndrew Rist * under the License. 21*5b00253eSmseidel * 22ce44d6c1SAndrew Rist ***********************************************************--> 23ce44d6c1SAndrew Rist 24*5b00253eSmseidel<helpdocument version="1.0"> 25cdf0e10cSrcweir<meta> 26*5b00253eSmseidel<topic id="textscalcguideformat_value_userdefxml" indexer="include" status="PUBLISH"> 27*5b00253eSmseidel<title xml-lang="en-US" id="tit">User-defined Number Formats</title> 28*5b00253eSmseidel<filename>/text/scalc/guide/format_value_userdef.xhp</filename> 29*5b00253eSmseidel</topic> 30*5b00253eSmseidel</meta> 31*5b00253eSmseidel<body> 32*5b00253eSmseidel<bookmark xml-lang="en-US" branch="index" id="bm_id3143268"> 33*5b00253eSmseidel<bookmark_value>numbers;user-defined formatting</bookmark_value> 34*5b00253eSmseidel<bookmark_value>formatting; user-defined numbers</bookmark_value> 35*5b00253eSmseidel<bookmark_value>number formats; millions</bookmark_value> 36*5b00253eSmseidel<bookmark_value>format codes; user-defined number formats</bookmark_value> 37cdf0e10cSrcweir</bookmark><comment>mw changed "numbers;"</comment> 38cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3143268" role="heading" level="1" l10n="U" 39*5b00253eSmseideloldref="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> 40cdf0e10cSrcweir</variable></paragraph> 41*5b00253eSmseidel<paragraph xml-lang="en-US" id="par_id3150400" role="paragraph" l10n="U" oldref="1">You can define your own number formats to display numbers in <item type="productname">%PRODUCTNAME</item> Calc.</paragraph> 42*5b00253eSmseidel<paragraph xml-lang="en-US" id="par_id3150767" role="paragraph" l10n="U" oldref="2">As an example, to display the number 10,200,000 as 10.2 Million:</paragraph> 43*5b00253eSmseidel<list type="ordered"> 44*5b00253eSmseidel<listitem> 45*5b00253eSmseidel<paragraph xml-lang="en-US" id="par_id3150868" role="listitem" l10n="U" oldref="3">Select the cells to which you want to apply a new, user-defined format.</paragraph> 46*5b00253eSmseidel</listitem> 47*5b00253eSmseidel<listitem> 48*5b00253eSmseidel<paragraph xml-lang="en-US" id="par_id3149664" role="listitem" l10n="U" oldref="4">Choose <emph>Format - Cells - Numbers</emph>.</paragraph> 49*5b00253eSmseidel</listitem> 50*5b00253eSmseidel<listitem> 51*5b00253eSmseidel<paragraph xml-lang="en-US" id="par_id3149260" role="listitem" l10n="U" oldref="5">In the <emph>Categories</emph> list box select "User-defined".</paragraph> 52*5b00253eSmseidel</listitem> 53*5b00253eSmseidel<listitem> 54*5b00253eSmseidel<paragraph xml-lang="en-US" id="par_id3148646" role="listitem" l10n="U" oldref="6">In the <emph>Format code</emph> text box enter the following code:</paragraph> 55*5b00253eSmseidel<paragraph xml-lang="en-US" id="par_id3152596" role="code" l10n="U" oldref="7">0.0,, "Million"</paragraph> 56*5b00253eSmseidel</listitem> 57*5b00253eSmseidel<listitem> 58*5b00253eSmseidel<paragraph xml-lang="en-US" id="par_id3144764" role="listitem" l10n="U" oldref="8">Click OK.</paragraph> 59*5b00253eSmseidel</listitem> 60*5b00253eSmseidel</list> 61*5b00253eSmseidel<paragraph xml-lang="en-US" id="par_id3155417" role="paragraph" l10n="U" oldref="9">The following table shows the effects of rounding, thousands delimiters (,), decimal delimiters (.) and the placeholders # and 0.</paragraph> 62*5b00253eSmseidel<table id="tbl_id3153157"> 63*5b00253eSmseidel<tablerow> 64*5b00253eSmseidel<tablecell> 65*5b00253eSmseidel<paragraph xml-lang="en-US" id="par_id3146971" role="tablehead" l10n="U" oldref="10">Number</paragraph> 66*5b00253eSmseidel</tablecell> 67*5b00253eSmseidel<tablecell> 68*5b00253eSmseidel<paragraph xml-lang="en-US" id="par_id3154757" role="tablehead" l10n="U" oldref="11">.#,, "Million"</paragraph> 69*5b00253eSmseidel</tablecell> 70*5b00253eSmseidel<tablecell> 71*5b00253eSmseidel<paragraph xml-lang="en-US" id="par_id3147338" role="tablehead" l10n="U" oldref="12">0.0,, "Million"</paragraph> 72*5b00253eSmseidel</tablecell> 73*5b00253eSmseidel<tablecell> 74*5b00253eSmseidel<paragraph xml-lang="en-US" id="par_id3146920" role="tablehead" l10n="U" oldref="13">#,, "Million"</paragraph> 75*5b00253eSmseidel</tablecell> 76*5b00253eSmseidel</tablerow> 77*5b00253eSmseidel<tablerow> 78*5b00253eSmseidel<tablecell> 79*5b00253eSmseidel<paragraph xml-lang="en-US" id="par_id3147344" role="paragraph" l10n="U" oldref="14">10200000</paragraph> 80*5b00253eSmseidel</tablecell> 81*5b00253eSmseidel<tablecell> 82*5b00253eSmseidel<paragraph xml-lang="en-US" id="par_id3147003" role="paragraph" l10n="U" oldref="15">10.2 Million</paragraph> 83*5b00253eSmseidel</tablecell> 84*5b00253eSmseidel<tablecell> 85*5b00253eSmseidel<paragraph xml-lang="en-US" id="par_id3166426" role="paragraph" l10n="U" oldref="16">10.2 Million</paragraph> 86*5b00253eSmseidel</tablecell> 87*5b00253eSmseidel<tablecell> 88*5b00253eSmseidel<paragraph xml-lang="en-US" id="par_id3155113" role="paragraph" l10n="U" oldref="17">10 Million</paragraph> 89*5b00253eSmseidel</tablecell> 90*5b00253eSmseidel</tablerow> 91*5b00253eSmseidel<tablerow> 92*5b00253eSmseidel<tablecell> 93*5b00253eSmseidel<paragraph xml-lang="en-US" id="par_id3150369" role="paragraph" l10n="U" oldref="18">500000</paragraph> 94*5b00253eSmseidel</tablecell> 95*5b00253eSmseidel<tablecell> 96*5b00253eSmseidel<paragraph xml-lang="en-US" id="par_id3145585" role="paragraph" l10n="U" oldref="19">.5 Million</paragraph> 97*5b00253eSmseidel</tablecell> 98*5b00253eSmseidel<tablecell> 99*5b00253eSmseidel<paragraph xml-lang="en-US" id="par_id3154486" role="paragraph" l10n="U" oldref="20">0.5 Million</paragraph> 100*5b00253eSmseidel</tablecell> 101*5b00253eSmseidel<tablecell> 102*5b00253eSmseidel<paragraph xml-lang="en-US" id="par_id3146114" role="paragraph" l10n="U" oldref="21">1 Million</paragraph> 103*5b00253eSmseidel</tablecell> 104*5b00253eSmseidel</tablerow> 105*5b00253eSmseidel<tablerow> 106*5b00253eSmseidel<tablecell> 107*5b00253eSmseidel<paragraph xml-lang="en-US" id="par_id3155810" role="paragraph" l10n="U" oldref="22">100000000</paragraph> 108*5b00253eSmseidel</tablecell> 109*5b00253eSmseidel<tablecell> 110*5b00253eSmseidel<paragraph xml-lang="en-US" id="par_id3153818" role="paragraph" l10n="U" oldref="23">100. Million</paragraph> 111*5b00253eSmseidel</tablecell> 112*5b00253eSmseidel<tablecell> 113*5b00253eSmseidel<paragraph xml-lang="en-US" id="par_id3151241" role="paragraph" l10n="U" oldref="24">100.0 Million</paragraph> 114*5b00253eSmseidel</tablecell> 115*5b00253eSmseidel<tablecell> 116*5b00253eSmseidel<paragraph xml-lang="en-US" id="par_id3144771" role="paragraph" l10n="U" oldref="25">100 Million</paragraph> 117*5b00253eSmseidel</tablecell> 118*5b00253eSmseidel</tablerow> 119*5b00253eSmseidel</table> 120*5b00253eSmseidel<section id="relatedtopics"> 121*5b00253eSmseidel<embed href="text/scalc/guide/format_value.xhp#format_value"/> 122*5b00253eSmseidel<embed href="text/scalc/guide/currency_format.xhp#currency_format"/> 123*5b00253eSmseidel<embed href="text/scalc/guide/text_numbers.xhp#text_numbers"/> 124*5b00253eSmseidel<embed href="text/shared/01/05020301.xhp#zahlenformatcodes"/> 125*5b00253eSmseidel</section> 126*5b00253eSmseidel</body> 127*5b00253eSmseidel</helpdocument> 128