1*b1cdbd2cSJim Jagielski<?xml version="1.0" encoding="UTF-8"?> 2*b1cdbd2cSJim Jagielski<helpdocument version="1.0"> 3*b1cdbd2cSJim Jagielski 4*b1cdbd2cSJim Jagielski<!--*********************************************************** 5*b1cdbd2cSJim Jagielski * 6*b1cdbd2cSJim Jagielski * Licensed to the Apache Software Foundation (ASF) under one 7*b1cdbd2cSJim Jagielski * or more contributor license agreements. See the NOTICE file 8*b1cdbd2cSJim Jagielski * distributed with this work for additional information 9*b1cdbd2cSJim Jagielski * regarding copyright ownership. The ASF licenses this file 10*b1cdbd2cSJim Jagielski * to you under the Apache License, Version 2.0 (the 11*b1cdbd2cSJim Jagielski * "License"); you may not use this file except in compliance 12*b1cdbd2cSJim Jagielski * with the License. You may obtain a copy of the License at 13*b1cdbd2cSJim Jagielski * 14*b1cdbd2cSJim Jagielski * http://www.apache.org/licenses/LICENSE-2.0 15*b1cdbd2cSJim Jagielski * 16*b1cdbd2cSJim Jagielski * Unless required by applicable law or agreed to in writing, 17*b1cdbd2cSJim Jagielski * software distributed under the License is distributed on an 18*b1cdbd2cSJim Jagielski * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 19*b1cdbd2cSJim Jagielski * KIND, either express or implied. See the License for the 20*b1cdbd2cSJim Jagielski * specific language governing permissions and limitations 21*b1cdbd2cSJim Jagielski * under the License. 22*b1cdbd2cSJim Jagielski * 23*b1cdbd2cSJim Jagielski ***********************************************************--> 24*b1cdbd2cSJim Jagielski 25*b1cdbd2cSJim Jagielski 26*b1cdbd2cSJim Jagielski 27*b1cdbd2cSJim Jagielski 28*b1cdbd2cSJim Jagielski<meta> 29*b1cdbd2cSJim Jagielski <topic id="textscalcguideformat_valuexml" indexer="include" status="PUBLISH"> 30*b1cdbd2cSJim Jagielski <title xml-lang="en-US" id="tit">Formatting Numbers With Decimals</title> 31*b1cdbd2cSJim Jagielski <filename>/text/scalc/guide/format_value.xhp</filename> 32*b1cdbd2cSJim Jagielski </topic> 33*b1cdbd2cSJim Jagielski </meta> 34*b1cdbd2cSJim Jagielski <body> 35*b1cdbd2cSJim Jagielski<bookmark xml-lang="en-US" branch="index" id="bm_id3145367"><bookmark_value>numbers;formatting decimals</bookmark_value> 36*b1cdbd2cSJim Jagielski <bookmark_value>formats; numbers in tables</bookmark_value> 37*b1cdbd2cSJim Jagielski <bookmark_value>tables; number formats</bookmark_value> 38*b1cdbd2cSJim Jagielski <bookmark_value>defaults; number formats in spreadsheets</bookmark_value> 39*b1cdbd2cSJim Jagielski <bookmark_value>decimal places;formatting numbers</bookmark_value> 40*b1cdbd2cSJim Jagielski <bookmark_value>formatting;numbers with decimals</bookmark_value> 41*b1cdbd2cSJim Jagielski <bookmark_value>formatting;adding/deleting decimal places</bookmark_value> 42*b1cdbd2cSJim Jagielski <bookmark_value>number formats; adding/deleting decimal places in cells</bookmark_value> 43*b1cdbd2cSJim Jagielski <bookmark_value>deleting; decimal places</bookmark_value> 44*b1cdbd2cSJim Jagielski <bookmark_value>decimal places; adding/deleting</bookmark_value> 45*b1cdbd2cSJim Jagielski</bookmark><comment>mw changed "numbers;"</comment> 46*b1cdbd2cSJim Jagielski<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> 47*b1cdbd2cSJim Jagielski</variable></paragraph> 48*b1cdbd2cSJim Jagielski <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> 49*b1cdbd2cSJim Jagielski <paragraph xml-lang="en-US" id="par_id3154012" role="paragraph" l10n="U" oldref="12">To format numbers with decimals:</paragraph> 50*b1cdbd2cSJim Jagielski <list type="ordered"> 51*b1cdbd2cSJim Jagielski <listitem> 52*b1cdbd2cSJim Jagielski <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> 53*b1cdbd2cSJim Jagielski </listitem> 54*b1cdbd2cSJim Jagielski <listitem> 55*b1cdbd2cSJim Jagielski <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> 56*b1cdbd2cSJim Jagielski </listitem> 57*b1cdbd2cSJim Jagielski </list> 58*b1cdbd2cSJim Jagielski <table id="tbl_id3149121"> 59*b1cdbd2cSJim Jagielski <tablerow> 60*b1cdbd2cSJim Jagielski <tablecell> 61*b1cdbd2cSJim Jagielski <paragraph xml-lang="en-US" id="par_id3155766" role="paragraph" l10n="E"> 62*b1cdbd2cSJim Jagielski<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> 63*b1cdbd2cSJim Jagielski </image></paragraph> 64*b1cdbd2cSJim Jagielski </tablecell> 65*b1cdbd2cSJim Jagielski <tablecell> 66*b1cdbd2cSJim Jagielski <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> 67*b1cdbd2cSJim Jagielski </tablecell> 68*b1cdbd2cSJim Jagielski </tablerow> 69*b1cdbd2cSJim Jagielski </table> 70*b1cdbd2cSJim Jagielski 71*b1cdbd2cSJim Jagielski <section id="relatedtopics"> 72*b1cdbd2cSJim Jagielski <embed href="text/scalc/guide/format_value_userdef.xhp#format_value_userdef"/> 73*b1cdbd2cSJim Jagielski <embed href="text/scalc/guide/currency_format.xhp#currency_format"/> 74*b1cdbd2cSJim Jagielski <embed href="text/shared/01/05020301.xhp#zahlenformatcodes"/> 75*b1cdbd2cSJim Jagielski <embed href="text/scalc/guide/text_numbers.xhp#text_numbers"/> 76*b1cdbd2cSJim Jagielski </section> 77*b1cdbd2cSJim Jagielski </body> 78*b1cdbd2cSJim Jagielski</helpdocument>