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