Difference between revisions of "FractionText Command"
From GeoGebra Manual
m (Text replace - "<div class="box info"> 48px|left This page is part of the official manual for print and pdf. For structural reasons normal users can't edit this page. If you found any errors on this page please contact ) |
m (Typo) |
||
(7 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>{{Manual Page|version= | + | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|text}} |
− | {{command|text}} | + | ; FractionText( <Number> ): Converts the number to a fraction, which is displayed as a (LaTeX) text object in the [[File:Menu view graphics.svg|link=|16px]] [[Graphics View]]. |
− | ; FractionText | + | : {{Example| 1=If ''a: y = 1.5 x + 2'' is a line, then <code>FractionText(Slope(a))</code> gives you the fraction ''3/2'' as a text.}} |
− | : {{Example| 1=If ''a: y = 1.5 x + 2'' is a line, then <code>FractionText | + | ; FractionText( <Point> ) |
− | ; FractionText | + | : Displays the coordinates of the point as fractions in the [[File:Menu view graphics.svg|link=|16px]] [[Graphics View]]. |
− | : Displays | + | : {{Example| 1=If ''A=(1.33,0.8)'' is a point, then <code>FractionText(A)</code> gives you the coordinates ''<math> \left( \frac{133}{100} ,\frac{4}{5} \right) </math>'' as a text.}} |
+ | {{Note|1= See also [[SurdText Command|SurdText]] command.}} |
Revision as of 02:59, 30 January 2021
- FractionText( <Number> )
- Converts the number to a fraction, which is displayed as a (LaTeX) text object in the Graphics View.
- Example: If a: y = 1.5 x + 2 is a line, then
FractionText(Slope(a))
gives you the fraction 3/2 as a text.
- FractionText( <Point> )
- Displays the coordinates of the point as fractions in the Graphics View.
- Example: If A=(1.33,0.8) is a point, then
FractionText(A)
gives you the coordinates \left( \frac{133}{100} ,\frac{4}{5} \right) as a text.
Note: See also SurdText command.