Difference between revisions of "FractionText Command"

From GeoGebra Manual
Jump to: navigation, search
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 )
Line 4: Line 4:
 
: {{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[Slope[a]]</code> gives you the fraction ''3/2'' as a text.}}
 
; FractionText[ <Point> ]
 
; FractionText[ <Point> ]
: Displays both coordinates of the Point as fractions in the [[Graphics View]].
+
: Displays the coordinates of the point as fractions in the [[Graphics View]].
 +
: {{Example| 1=If ''A=(4,2)'' is a point, then <code>FractionText[A]</code> gives you the coordinates ''(4,2)'' as a text.}}

Revision as of 10:34, 26 April 2013



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=(4,2) is a point, then FractionText[A] gives you the coordinates (4,2) as a text.
© 2024 International GeoGebra Institute