Difference between revisions of "FractionText Command"
From GeoGebra Manual
(removed betamanual template) |
|||
Line 3: | Line 3: | ||
; 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.}} | ||
− | + | ; FractionText[ <Point> ] | |
− | |||
− | |||
: Displays both coordinates of the Point as fractions in the [[Graphics View]]. | : Displays both coordinates of the Point as fractions in the [[Graphics View]]. | ||
− |
Revision as of 22:50, 5 January 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 both coordinates of the Point as fractions in the Graphics View.