1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?> 2cdf0e10cSrcweir 3ce44d6c1SAndrew Rist<!--*********************************************************** 4cdf0e10cSrcweir * 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 12cdf0e10cSrcweir * 13ce44d6c1SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 14cdf0e10cSrcweir * 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. 21cdf0e10cSrcweir * 22ce44d6c1SAndrew Rist ***********************************************************--> 23ce44d6c1SAndrew Rist 248b0727e7Smseidel<helpdocument version="1.0"> 25cdf0e10cSrcweir<meta> 26cdf0e10cSrcweir<topic id="textscalcguideformat_value_userdefxml" indexer="include" status="PUBLISH"> 27cdf0e10cSrcweir<title xml-lang="en-US" id="tit">User-defined Number Formats</title> 28cdf0e10cSrcweir<filename>/text/scalc/guide/format_value_userdef.xhp</filename> 29cdf0e10cSrcweir</topic> 30cdf0e10cSrcweir</meta> 31cdf0e10cSrcweir<body> 328b0727e7Smseidel<bookmark xml-lang="en-US" branch="index" id="bm_id3143268"> 338b0727e7Smseidel<bookmark_value>numbers;user-defined formatting</bookmark_value> 34cdf0e10cSrcweir<bookmark_value>formatting; user-defined numbers</bookmark_value> 35cdf0e10cSrcweir<bookmark_value>number formats; millions</bookmark_value> 36cdf0e10cSrcweir<bookmark_value>format codes; user-defined number formats</bookmark_value> 37cdf0e10cSrcweir</bookmark><comment>mw changed "numbers;"</comment> 38*3db955a2Smseidel<paragraph xml-lang="en-US" id="hd_id3143268" role="heading" level="1" l10n="U"><variable id="format_value_userdef"><link href="text/scalc/guide/format_value_userdef.xhp" name="User-defined Number Formats">User-defined Number Formats</link> 39cdf0e10cSrcweir</variable></paragraph> 40*3db955a2Smseidel<paragraph xml-lang="en-US" id="par_id3150400" role="paragraph" l10n="U">You can define your own number formats to display numbers in <item type="productname">%PRODUCTNAME</item> Calc.</paragraph> 41*3db955a2Smseidel<paragraph xml-lang="en-US" id="par_id3150767" role="paragraph" l10n="U">As an example, to display the number 10,200,000 as 10.2 Million:</paragraph> 42cdf0e10cSrcweir<list type="ordered"> 43cdf0e10cSrcweir<listitem> 44*3db955a2Smseidel<paragraph xml-lang="en-US" id="par_id3150868" role="listitem" l10n="U">Select the cells to which you want to apply a new, user-defined format.</paragraph> 45cdf0e10cSrcweir</listitem> 46cdf0e10cSrcweir<listitem> 47*3db955a2Smseidel<paragraph xml-lang="en-US" id="par_id3149664" role="listitem" l10n="U">Choose <emph>Format - Cells - Numbers</emph>.</paragraph> 48cdf0e10cSrcweir</listitem> 49cdf0e10cSrcweir<listitem> 50*3db955a2Smseidel<paragraph xml-lang="en-US" id="par_id3149260" role="listitem" l10n="U">In the <emph>Categories</emph> list box select "User-defined".</paragraph> 51cdf0e10cSrcweir</listitem> 52cdf0e10cSrcweir<listitem> 53*3db955a2Smseidel<paragraph xml-lang="en-US" id="par_id3148646" role="listitem" l10n="U">In the <emph>Format code</emph> text box enter the following code:</paragraph> 54*3db955a2Smseidel<paragraph xml-lang="en-US" id="par_id3152596" role="code" l10n="U">0.0,, "Million"</paragraph> 55cdf0e10cSrcweir</listitem> 56cdf0e10cSrcweir<listitem> 57*3db955a2Smseidel<paragraph xml-lang="en-US" id="par_id3144764" role="listitem" l10n="U">Click OK.</paragraph> 58cdf0e10cSrcweir</listitem> 59cdf0e10cSrcweir</list> 60*3db955a2Smseidel<paragraph xml-lang="en-US" id="par_id3155417" role="paragraph" l10n="U">The following table shows the effects of rounding, thousands delimiters (,), decimal delimiters (.) and the placeholders # and 0.</paragraph> 61cdf0e10cSrcweir<table id="tbl_id3153157"> 62cdf0e10cSrcweir<tablerow> 63cdf0e10cSrcweir<tablecell> 64*3db955a2Smseidel<paragraph xml-lang="en-US" id="par_id3146971" role="tablehead" l10n="U">Number</paragraph> 65cdf0e10cSrcweir</tablecell> 66cdf0e10cSrcweir<tablecell> 67*3db955a2Smseidel<paragraph xml-lang="en-US" id="par_id3154757" role="tablehead" l10n="U">.#,, "Million"</paragraph> 68cdf0e10cSrcweir</tablecell> 69cdf0e10cSrcweir<tablecell> 70*3db955a2Smseidel<paragraph xml-lang="en-US" id="par_id3147338" role="tablehead" l10n="U">0.0,, "Million"</paragraph> 71cdf0e10cSrcweir</tablecell> 72cdf0e10cSrcweir<tablecell> 73*3db955a2Smseidel<paragraph xml-lang="en-US" id="par_id3146920" role="tablehead" l10n="U">#,, "Million"</paragraph> 74cdf0e10cSrcweir</tablecell> 75cdf0e10cSrcweir</tablerow> 76cdf0e10cSrcweir<tablerow> 77cdf0e10cSrcweir<tablecell> 78*3db955a2Smseidel<paragraph xml-lang="en-US" id="par_id3147344" role="paragraph" l10n="U">10200000</paragraph> 79cdf0e10cSrcweir</tablecell> 80cdf0e10cSrcweir<tablecell> 81*3db955a2Smseidel<paragraph xml-lang="en-US" id="par_id3147003" role="paragraph" l10n="U">10.2 Million</paragraph> 82cdf0e10cSrcweir</tablecell> 83cdf0e10cSrcweir<tablecell> 84*3db955a2Smseidel<paragraph xml-lang="en-US" id="par_id3166426" role="paragraph" l10n="U">10.2 Million</paragraph> 85cdf0e10cSrcweir</tablecell> 86cdf0e10cSrcweir<tablecell> 87*3db955a2Smseidel<paragraph xml-lang="en-US" id="par_id3155113" role="paragraph" l10n="U">10 Million</paragraph> 88cdf0e10cSrcweir</tablecell> 89cdf0e10cSrcweir</tablerow> 90cdf0e10cSrcweir<tablerow> 91cdf0e10cSrcweir<tablecell> 92*3db955a2Smseidel<paragraph xml-lang="en-US" id="par_id3150369" role="paragraph" l10n="U">500000</paragraph> 93cdf0e10cSrcweir</tablecell> 94cdf0e10cSrcweir<tablecell> 95*3db955a2Smseidel<paragraph xml-lang="en-US" id="par_id3145585" role="paragraph" l10n="U">.5 Million</paragraph> 96cdf0e10cSrcweir</tablecell> 97cdf0e10cSrcweir<tablecell> 98*3db955a2Smseidel<paragraph xml-lang="en-US" id="par_id3154486" role="paragraph" l10n="U">0.5 Million</paragraph> 99cdf0e10cSrcweir</tablecell> 100cdf0e10cSrcweir<tablecell> 101*3db955a2Smseidel<paragraph xml-lang="en-US" id="par_id3146114" role="paragraph" l10n="U">1 Million</paragraph> 102cdf0e10cSrcweir</tablecell> 103cdf0e10cSrcweir</tablerow> 104cdf0e10cSrcweir<tablerow> 105cdf0e10cSrcweir<tablecell> 106*3db955a2Smseidel<paragraph xml-lang="en-US" id="par_id3155810" role="paragraph" l10n="U">100000000</paragraph> 107cdf0e10cSrcweir</tablecell> 108cdf0e10cSrcweir<tablecell> 109*3db955a2Smseidel<paragraph xml-lang="en-US" id="par_id3153818" role="paragraph" l10n="U">100. Million</paragraph> 110cdf0e10cSrcweir</tablecell> 111cdf0e10cSrcweir<tablecell> 112*3db955a2Smseidel<paragraph xml-lang="en-US" id="par_id3151241" role="paragraph" l10n="U">100.0 Million</paragraph> 113cdf0e10cSrcweir</tablecell> 114cdf0e10cSrcweir<tablecell> 115*3db955a2Smseidel<paragraph xml-lang="en-US" id="par_id3144771" role="paragraph" l10n="U">100 Million</paragraph> 116cdf0e10cSrcweir</tablecell> 117cdf0e10cSrcweir</tablerow> 118cdf0e10cSrcweir</table> 119cdf0e10cSrcweir<section id="relatedtopics"> 120cdf0e10cSrcweir<embed href="text/scalc/guide/format_value.xhp#format_value"/> 121cdf0e10cSrcweir<embed href="text/scalc/guide/currency_format.xhp#currency_format"/> 122cdf0e10cSrcweir<embed href="text/scalc/guide/text_numbers.xhp#text_numbers"/> 123cdf0e10cSrcweir<embed href="text/shared/01/05020301.xhp#zahlenformatcodes"/> 124cdf0e10cSrcweir</section> 125cdf0e10cSrcweir</body> 126cdf0e10cSrcweir</helpdocument> 127