1<?xml version="1.0" encoding="UTF-8"?>
2
3
4<!--
5 ***********************************************************************
6 *
7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
8 *
9 * Copyright 2000, 2010 Oracle and/or its affiliates.
10 *
11 * OpenOffice.org - a multi-platform office productivity suite
12 *
13 * This file is part of OpenOffice.org.
14 *
15 * OpenOffice.org is free software: you can redistribute it and/or modify
16 * it under the terms of the GNU Lesser General Public License version 3
17 * only, as published by the Free Software Foundation.
18 *
19 * OpenOffice.org is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22 * GNU Lesser General Public License version 3 for more details
23 * (a copy is included in the LICENSE file that accompanied this code).
24 *
25 * You should have received a copy of the GNU Lesser General Public License
26 * version 3 along with OpenOffice.org.  If not, see
27 * <http://www.openoffice.org/license.html>
28 * for a copy of the LGPLv3 License.
29 *
30 ************************************************************************
31 -->
32
33<helpdocument version="1.0">
34<meta>
35<topic id="textscalcguiderounding_numbersxml" indexer="include" status="PUBLISH">
36<title id="tit" xml-lang="en-US">Using Rounded Off Numbers</title>
37<filename>/text/scalc/guide/rounding_numbers.xhp</filename>
38</topic>
39<history>
40<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
41<lastedited date="2007-02-19T13:14:19">converted from old format - fpe</lastedited>
42</history>
43</meta>
44<body>
45<bookmark xml-lang="en-US" branch="index" id="bm_id3153361"><bookmark_value>numbers; rounded off</bookmark_value>
46<bookmark_value>rounded off numbers</bookmark_value>
47<bookmark_value>exact numbers in $[officename] Calc</bookmark_value>
48<bookmark_value>decimal places; showing</bookmark_value>
49<bookmark_value>changing;number of decimal places</bookmark_value>
50<bookmark_value>values;rounded in calculations</bookmark_value>
51<bookmark_value>calculating;rounded off values</bookmark_value>
52<bookmark_value>numbers; decimal places</bookmark_value>
53<bookmark_value>precision as shown</bookmark_value>
54<bookmark_value>rounding precision</bookmark_value>
55<bookmark_value>spreadsheets; values as shown</bookmark_value>
56</bookmark><comment>mw reduced "tables in spreadsheets;" to "tables;"</comment>
57<paragraph role="paragraph" id="par_id3153361" xml-lang="en-US" l10n="E" oldref="1" localize="false"/>
58<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>
59</variable></paragraph>
60<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>
61<paragraph role="heading" id="hd_id3152596" xml-lang="en-US" level="3" l10n="U" oldref="4">To change this for selected cells</paragraph>
62<list type="ordered">
63<listitem>
64<paragraph role="listitem" id="par_id3154321" xml-lang="en-US" l10n="U" oldref="5">Mark all the cells you want to modify.</paragraph>
65</listitem>
66<listitem>
67<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>
68</listitem>
69<listitem>
70<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>
71</listitem>
72</list>
73<paragraph role="heading" id="hd_id3155415" xml-lang="en-US" level="3" l10n="U" oldref="8">To change this everywhere</paragraph>
74<list type="ordered">
75<listitem>
76<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>
77</listitem>
78<listitem>
79<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>
80</listitem>
81</list>
82<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>
83<list type="ordered">
84<listitem>
85<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>
86</listitem>
87<listitem>
88<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>
89</listitem>
90</list>
91<section id="relatedtopics">
92<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>
93<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>
94</section>
95</body>
96</helpdocument>
97