Difference between revisions of "FractionText Command"

From GeoGebra Manual
Jump to: navigation, search
m (1 revision: tt => code)
(FractionText[ <Point> ])
Line 1: Line 1:
 
<noinclude>{{Manual Page|version=4.0}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude>
 
<noinclude>{{Manual Page|version=4.0}}[[Category:Manual (official)|{{PAGENAME}}]]</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]].
 
: {{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.}}
 +
 +
{{betamanual|version=4.2|
 +
1=; FractionText[ <Point> ]
 +
: Displays both coordinates of the Point as fractions
 +
}}

Revision as of 16:56, 20 June 2012


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.


© 2024 International GeoGebra Institute