Difference between revisions of "FractionText Command"
From GeoGebra Manual
(added v.4 - example formatting) |
(added v.4 - example formatting) |
||
Line 2: | Line 2: | ||
{{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 < | + | : {{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.}} |
Revision as of 13:23, 24 February 2011
- 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.