1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?> 2cdf0e10cSrcweir<helpdocument version="1.0"> 3cdf0e10cSrcweir 4*ce44d6c1SAndrew Rist<!--*********************************************************** 5cdf0e10cSrcweir * 6*ce44d6c1SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 7*ce44d6c1SAndrew Rist * or more contributor license agreements. See the NOTICE file 8*ce44d6c1SAndrew Rist * distributed with this work for additional information 9*ce44d6c1SAndrew Rist * regarding copyright ownership. The ASF licenses this file 10*ce44d6c1SAndrew Rist * to you under the Apache License, Version 2.0 (the 11*ce44d6c1SAndrew Rist * "License"); you may not use this file except in compliance 12*ce44d6c1SAndrew Rist * with the License. You may obtain a copy of the License at 13cdf0e10cSrcweir * 14*ce44d6c1SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 15cdf0e10cSrcweir * 16*ce44d6c1SAndrew Rist * Unless required by applicable law or agreed to in writing, 17*ce44d6c1SAndrew Rist * software distributed under the License is distributed on an 18*ce44d6c1SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 19*ce44d6c1SAndrew Rist * KIND, either express or implied. See the License for the 20*ce44d6c1SAndrew Rist * specific language governing permissions and limitations 21*ce44d6c1SAndrew Rist * under the License. 22cdf0e10cSrcweir * 23*ce44d6c1SAndrew Rist ***********************************************************--> 24*ce44d6c1SAndrew Rist 25*ce44d6c1SAndrew Rist 26cdf0e10cSrcweir 27cdf0e10cSrcweir 28cdf0e10cSrcweir<meta> 29cdf0e10cSrcweir <topic id="textscalcguideformat_valuexml" indexer="include" status="PUBLISH"> 30cdf0e10cSrcweir <title xml-lang="en-US" id="tit">Formatting Numbers With Decimals</title> 31cdf0e10cSrcweir <filename>/text/scalc/guide/format_value.xhp</filename> 32cdf0e10cSrcweir </topic> 33cdf0e10cSrcweir </meta> 34cdf0e10cSrcweir <body> 35cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3145367"><bookmark_value>numbers;formatting decimals</bookmark_value> 36cdf0e10cSrcweir <bookmark_value>formats; numbers in tables</bookmark_value> 37cdf0e10cSrcweir <bookmark_value>tables; number formats</bookmark_value> 38cdf0e10cSrcweir <bookmark_value>defaults; number formats in spreadsheets</bookmark_value> 39cdf0e10cSrcweir <bookmark_value>decimal places;formatting numbers</bookmark_value> 40cdf0e10cSrcweir <bookmark_value>formatting;numbers with decimals</bookmark_value> 41cdf0e10cSrcweir <bookmark_value>formatting;adding/deleting decimal places</bookmark_value> 42cdf0e10cSrcweir <bookmark_value>number formats; adding/deleting decimal places in cells</bookmark_value> 43cdf0e10cSrcweir <bookmark_value>deleting; decimal places</bookmark_value> 44cdf0e10cSrcweir <bookmark_value>decimal places; adding/deleting</bookmark_value> 45cdf0e10cSrcweir</bookmark><comment>mw changed "numbers;"</comment> 46cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3145367" role="heading" level="1" l10n="U" oldref="4"><variable id="format_value"><link href="text/scalc/guide/format_value.xhp" name="Formatting Numbers With Decimals">Formatting Numbers With Decimals</link> 47cdf0e10cSrcweir</variable></paragraph> 48cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3148576" role="paragraph" l10n="U" oldref="5">Enter a number into the sheet, for example, 1234.5678. This number will be displayed in the default number format, with two decimal places. You will see 1234.57 when you confirm the entry. Only the display in the document will be rounded off; internally, the number retains all four decimal places after the decimal point.</paragraph> 49cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3154012" role="paragraph" l10n="U" oldref="12">To format numbers with decimals:</paragraph> 50cdf0e10cSrcweir <list type="ordered"> 51cdf0e10cSrcweir <listitem> 52cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3147394" role="listitem" l10n="U" oldref="6">Set the cursor at the number and choose <emph>Format - Cells</emph> to start the <emph>Format Cells</emph> dialog.</paragraph> 53cdf0e10cSrcweir </listitem> 54cdf0e10cSrcweir <listitem> 55cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3153157" role="listitem" l10n="U" oldref="9">On the <emph>Numbers</emph> tab you will see a selection of predefined number formats. In the bottom right in the dialog you will see a preview of how your current number would look if you were to give it a particular format.</paragraph> 56cdf0e10cSrcweir </listitem> 57cdf0e10cSrcweir </list> 58cdf0e10cSrcweir <table id="tbl_id3149121"> 59cdf0e10cSrcweir <tablerow> 60cdf0e10cSrcweir <tablecell> 61cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3155766" role="paragraph" l10n="E"> 62cdf0e10cSrcweir<image id="img_id3149021" src="res/commandimagelist/sc_numberformatincdecimals.png" width="0.222in" height="0.222in"><alt xml-lang="en-US" id="alt_id3149021">Icon</alt> 63cdf0e10cSrcweir </image></paragraph> 64cdf0e10cSrcweir </tablecell> 65cdf0e10cSrcweir <tablecell> 66cdf0e10cSrcweir <paragraph xml-lang="en-US" id="par_id3149256" role="paragraph" l10n="CHG" oldref="10">If you only want to modify the number of the decimal places displayed, the easiest method is to use the <emph>Number Format: Add Decimal Place</emph> or <emph>Number Format: Delete Decimal Place</emph> icons on the Formatting Bar.</paragraph> 67cdf0e10cSrcweir </tablecell> 68cdf0e10cSrcweir </tablerow> 69cdf0e10cSrcweir </table> 70cdf0e10cSrcweir 71cdf0e10cSrcweir <section id="relatedtopics"> 72cdf0e10cSrcweir <embed href="text/scalc/guide/format_value_userdef.xhp#format_value_userdef"/> 73cdf0e10cSrcweir <embed href="text/scalc/guide/currency_format.xhp#currency_format"/> 74cdf0e10cSrcweir <embed href="text/shared/01/05020301.xhp#zahlenformatcodes"/> 75cdf0e10cSrcweir <embed href="text/scalc/guide/text_numbers.xhp#text_numbers"/> 76cdf0e10cSrcweir </section> 77cdf0e10cSrcweir </body> 78cdf0e10cSrcweir</helpdocument>