Difference between revisions of "FractionText Command"
From GeoGebra Manual
m (1 revision) |
(added v.4 - example formatting) |
||
Line 1: | Line 1: | ||
− | <noinclude>{{Manual Page}}[[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 | + | : {{Example| 1=If ''a: y = 1.5 x + 2'' is a line, then <tt>FractionText[Slope[a]]</tt> gives you the fraction ''3/2'' as a text.}} |
Revision as of 13:23, 14 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.