1<?xml version="1.0" encoding="UTF-8"?>
2
3<!--***********************************************************
4 *
5 * Licensed to the Apache Software Foundation (ASF) under one
6 * or more contributor license agreements.  See the NOTICE file
7 * distributed with this work for additional information
8 * regarding copyright ownership.  The ASF licenses this file
9 * to you under the Apache License, Version 2.0 (the
10 * "License"); you may not use this file except in compliance
11 * with the License.  You may obtain a copy of the License at
12 *
13 *   http://www.apache.org/licenses/LICENSE-2.0
14 *
15 * Unless required by applicable law or agreed to in writing,
16 * software distributed under the License is distributed on an
17 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18 * KIND, either express or implied.  See the License for the
19 * specific language governing permissions and limitations
20 * under the License.
21 *
22 ***********************************************************-->
23
24<helpdocument version="1.0">
25<meta>
26<topic id="textscalcguiderounding_numbersxml" indexer="include" status="PUBLISH">
27<title id="tit" xml-lang="en-US">Using Rounded Off Numbers</title>
28<filename>/text/scalc/guide/rounding_numbers.xhp</filename>
29</topic>
30</meta>
31<body>
32<bookmark xml-lang="en-US" branch="index" id="bm_id3153361">
33<bookmark_value>numbers; rounded off</bookmark_value>
34<bookmark_value>rounded off numbers</bookmark_value>
35<bookmark_value>exact numbers in $[officename] Calc</bookmark_value>
36<bookmark_value>decimal places; showing</bookmark_value>
37<bookmark_value>changing;number of decimal places</bookmark_value>
38<bookmark_value>values;rounded in calculations</bookmark_value>
39<bookmark_value>calculating;rounded off values</bookmark_value>
40<bookmark_value>numbers; decimal places</bookmark_value>
41<bookmark_value>precision as shown</bookmark_value>
42<bookmark_value>rounding precision</bookmark_value>
43<bookmark_value>spreadsheets; values as shown</bookmark_value>
44</bookmark><comment>mw reduced "tables in spreadsheets;" to "tables;"</comment>
45<paragraph role="paragraph" id="par_id3153361" xml-lang="en-US" l10n="E" oldref="1" localize="false"/>
46<paragraph role="heading" id="hd_id3156422" xml-lang="en-US" level="1" l10n="U" oldref="2"><variable id="rounding_numbers"><link href="text/scalc/guide/rounding_numbers.xhp" name="Using Rounded Off Numbers">Using Rounded Off Numbers</link>
47</variable></paragraph>
48<paragraph role="paragraph" id="par_id3153726" xml-lang="en-US" l10n="U" oldref="3">In $[officename] Calc, all decimal numbers are displayed rounded off to two decimal places.</paragraph>
49<paragraph role="heading" id="hd_id3152596" xml-lang="en-US" level="3" l10n="U" oldref="4">To change this for selected cells</paragraph>
50<list type="ordered">
51<listitem>
52<paragraph role="listitem" id="par_id3154321" xml-lang="en-US" l10n="U" oldref="5">Mark all the cells you want to modify.</paragraph>
53</listitem>
54<listitem>
55<paragraph role="listitem" id="par_id3147428" xml-lang="en-US" l10n="U" oldref="6">Choose <emph>Format - Cells</emph> and go to the <emph>Numbers</emph> tab page.</paragraph>
56</listitem>
57<listitem>
58<paragraph role="listitem" id="par_id3153876" xml-lang="en-US" l10n="U" oldref="7">In the <emph>Category</emph> field, select <emph>Number</emph>. Under <emph>Options</emph>, change the number of <emph>Decimal places</emph> and exit the dialog with OK.</paragraph>
59</listitem>
60</list>
61<paragraph role="heading" id="hd_id3155415" xml-lang="en-US" level="3" l10n="U" oldref="8">To change this everywhere</paragraph>
62<list type="ordered">
63<listitem>
64<paragraph role="listitem" id="par_id3150715" xml-lang="en-US" l10n="CHG" oldref="9">Choose <emph><switchinline select="sys"><caseinline select="MAC">%PRODUCTNAME - Preferences</caseinline><defaultinline>Tools - Options</defaultinline></switchinline> - %PRODUCTNAME Calc</emph>.</paragraph>
65</listitem>
66<listitem>
67<paragraph role="listitem" id="par_id3153707" xml-lang="en-US" l10n="U" oldref="10">Go to the <emph>Calculate</emph> page. Modify the number of <emph>Decimal places</emph> and exit the dialog with OK.</paragraph>
68</listitem>
69</list>
70<paragraph role="heading" id="hd_id3154755" xml-lang="en-US" level="3" l10n="U" oldref="11">To calculate with the rounded off numbers instead of the internal exact values</paragraph>
71<list type="ordered">
72<listitem>
73<paragraph role="listitem" id="par_id3150045" xml-lang="en-US" l10n="CHG" oldref="12">Choose <emph><switchinline select="sys"><caseinline select="MAC">%PRODUCTNAME - Preferences</caseinline><defaultinline>Tools - Options</defaultinline></switchinline> - %PRODUCTNAME Calc</emph>.</paragraph>
74</listitem>
75<listitem>
76<paragraph role="listitem" id="par_id3146920" xml-lang="en-US" l10n="U" oldref="13">Go to the <emph>Calculate</emph> page. Mark the <emph>Precision as shown</emph> field and exit the dialog with OK.</paragraph>
77</listitem>
78</list>
79<section id="relatedtopics">
80<paragraph role="paragraph" id="par_id3145790" xml-lang="en-US" l10n="U" oldref="14"><link href="text/shared/01/05020300.xhp" name="Numbers">Numbers</link></paragraph>
81<paragraph role="paragraph" id="par_id3147005" xml-lang="en-US" l10n="U" oldref="15"><link href="text/shared/optionen/01060500.xhp" name="Calculate">Calculate</link></paragraph>
82</section>
83</body>
84</helpdocument>
85