1<?xml version="1.0" encoding="UTF-8"?>
2
3
4<!--***********************************************************
5 *
6 * Licensed to the Apache Software Foundation (ASF) under one
7 * or more contributor license agreements.  See the NOTICE file
8 * distributed with this work for additional information
9 * regarding copyright ownership.  The ASF licenses this file
10 * to you under the Apache License, Version 2.0 (the
11 * "License"); you may not use this file except in compliance
12 * with the License.  You may obtain a copy of the License at
13 *
14 *   http://www.apache.org/licenses/LICENSE-2.0
15 *
16 * Unless required by applicable law or agreed to in writing,
17 * software distributed under the License is distributed on an
18 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
19 * KIND, either express or implied.  See the License for the
20 * specific language governing permissions and limitations
21 * under the License.
22 *
23 ***********************************************************-->
24
25
26
27<helpdocument version="1.0">
28<meta>
29<topic id="textscalcguidefraction_enterxml" indexer="include" status="PUBLISH">
30<title id="tit" xml-lang="en-US">Entering Fractions </title>
31<filename>/text/scalc/guide/fraction_enter.xhp</filename>
32</topic>
33<history>
34<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
35<lastedited date="2005-08-09T12:55:10">converted from old format - fpe</lastedited>
36</history>
37</meta>
38<body>
39<bookmark xml-lang="en-US" branch="index" id="bm_id3155411"><bookmark_value>fractions; entering</bookmark_value>
40<bookmark_value>numbers; entering fractions </bookmark_value>
41<bookmark_value>inserting;fractions</bookmark_value>
42</bookmark>
43<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>
44</variable></paragraph>
45<section id="fractiontext">
46<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>
47<list type="unordered">
48<listitem>
49<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>
50</listitem>
51</list>
52<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>
53<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>
54</section>
55<section id="relatedtopics">
56<embed href="text/scalc/guide/text_numbers.xhp#text_numbers"/>
57</section>
58</body>
59</helpdocument>
60