1<?xml version="1.0" encoding="UTF-8"?>
2
3
4<!--***********************************************************************
5 *
6 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
7 *
8 * Copyright 2000, 2010 Oracle and/or its affiliates.
9 *
10 * OpenOffice.org - a multi-platform office productivity suite
11 *
12 * This file is part of OpenOffice.org.
13 *
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
17 *
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
23 *
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org.  If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
28 *
29 ************************************************************************-->
30
31<helpdocument version="1.0">
32<meta>
33<topic id="textscalcguidefraction_enterxml" indexer="include" status="PUBLISH">
34<title id="tit" xml-lang="en-US">Entering Fractions </title>
35<filename>/text/scalc/guide/fraction_enter.xhp</filename>
36</topic>
37<history>
38<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
39<lastedited date="2005-08-09T12:55:10">converted from old format - fpe</lastedited>
40</history>
41</meta>
42<body>
43<bookmark xml-lang="en-US" branch="index" id="bm_id3155411"><bookmark_value>fractions; entering</bookmark_value>
44<bookmark_value>numbers; entering fractions </bookmark_value>
45<bookmark_value>inserting;fractions</bookmark_value>
46</bookmark>
47<paragraph role="heading" id="hd_id3155411" xml-lang="en-US" level="1" l10n="U" oldref="41"><variable id="fraction_enter"><link href="text/scalc/guide/fraction_enter.xhp" name="Entering Fractions ">Entering Fractions </link>
48</variable></paragraph>
49<section id="fractiontext">
50<paragraph role="paragraph" id="par_id3153968" xml-lang="en-US" l10n="U" oldref="40">You can enter a fractional number in a cell and use it for calculation:</paragraph>
51<list type="unordered">
52<listitem>
53<paragraph role="listitem" id="par_id3155133" xml-lang="en-US" l10n="U" oldref="42">Enter "0 1/5" in a cell (without the quotation marks) and press the input key. In the input line above the spreadsheet you will see the value 0.2, which is used for the calculation.</paragraph>
54</listitem>
55</list>
56<paragraph role="paragraph" id="par_id3145750" xml-lang="en-US" l10n="U" oldref="43">If you enter "0 1/2" AutoCorrect causes the three characters 1, / and 2 to be replaced by a single character. The same applies to 1/4 and 3/4. This replacement is defined in <emph>Tools - AutoCorrect Options - Options</emph> tab.</paragraph>
57<paragraph role="paragraph" id="par_id3145367" xml-lang="en-US" l10n="U" oldref="44">If you want to see multi-digit fractions such as "1/10", you must change the cell format to the multi-digit fraction view. Open the context menu of the cell, and choose <emph>Format cells. </emph>Select "Fraction" from the <emph>Category</emph> field, and then select "-1234 10/81". You can then enter fractions such as 12/31 or 12/32 - the fractions are, however, automatically reduced, so that in the last example you would see 3/8.</paragraph>
58</section>
59<section id="relatedtopics">
60<embed href="text/scalc/guide/text_numbers.xhp#text_numbers"/>
61</section>
62</body>
63</helpdocument>
64