Update ooo320-m1
[ooovba.git] / helpcontent2 / source / text / scalc / guide / fraction_enter.xhp
blob1e9ac6278e027f7c06badfedcff39de36efe97eb
1 <?xml version="1.0" encoding="UTF-8"?>
4 <!--***********************************************************************
6 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
7 *
8 * Copyright 2008 by Sun Microsystems, Inc.
10 * OpenOffice.org - a multi-platform office productivity suite
12 * $RCSfile: fraction_enter.xhp,v $
13 * $Revision: 1.6 $
15 * This file is part of OpenOffice.org.
17 * OpenOffice.org is free software: you can redistribute it and/or modify
18 * it under the terms of the GNU Lesser General Public License version 3
19 * only, as published by the Free Software Foundation.
21 * OpenOffice.org is distributed in the hope that it will be useful,
22 * but WITHOUT ANY WARRANTY; without even the implied warranty of
23 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24 * GNU Lesser General Public License version 3 for more details
25 * (a copy is included in the LICENSE file that accompanied this code).
27 * You should have received a copy of the GNU Lesser General Public License
28 * version 3 along with OpenOffice.org. If not, see
29 * <http://www.openoffice.org/license.html>
30 * for a copy of the LGPLv3 License.
32 ************************************************************************-->
34 <helpdocument version="1.0">
35 <meta>
36 <topic id="textscalcguidefraction_enterxml" indexer="include" status="PUBLISH">
37 <title id="tit" xml-lang="en-US">Entering Fractions </title>
38 <filename>/text/scalc/guide/fraction_enter.xhp</filename>
39 </topic>
40 <history>
41 <created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
42 <lastedited date="2005-08-09T12:55:10">converted from old format - fpe</lastedited>
43 </history>
44 </meta>
45 <body>
46 <bookmark xml-lang="en-US" branch="index" id="bm_id3155411"><bookmark_value>fractions; entering</bookmark_value>
47 <bookmark_value>numbers; entering fractions </bookmark_value>
48 <bookmark_value>inserting;fractions</bookmark_value>
49 </bookmark>
50 <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>
51 </variable></paragraph>
52 <section id="fractiontext">
53 <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>
54 <list type="unordered">
55 <listitem>
56 <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>
57 </listitem>
58 </list>
59 <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>
60 <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>
61 </section>
62 <section id="relatedtopics">
63 <embed href="text/scalc/guide/text_numbers.xhp#text_numbers"/>
64 </section>
65 </body>
66 </helpdocument>