Difference between revisions of "FractionText Command"

From GeoGebra Manual
Jump to: navigation, search
m (added link to SurdText cmd)
m
Line 1: Line 1:
<noinclude>{{Manual Page|version=4.2}}</noinclude>
+
<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 [[Graphics View]].
 
; FractionText[ <Number> ]: Converts the number to a fraction, which is displayed as a (LaTeX) text object in the [[Graphics View]].

Revision as of 13:21, 23 July 2015



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.
© 2024 International GeoGebra Institute