Difference between revisions of "FractionText Command"

From GeoGebra Manual
Jump to: navigation, search
(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 <tt>FractionText[Slope[a]]</tt> 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.}}

Revision as of 13:23, 24 February 2011

© 2024 International GeoGebra Institute