Difference between revisions of "MixedNumber Command"

From GeoGebra Manual
Jump to: navigation, search
(command syntax: changed [ ] into ( ))
 
(12 intermediate revisions by 6 users not shown)
Line 1: Line 1:
+
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|geogebra}}
<noinclude>{{Manual Page|version=4.0}}</noinclude>
+
==CAS Syntax==
{{command|CAS}}
+
;MixedNumber( <Number> )
;ProperFraction[ <Expression> ]
+
:Converts the given number to a mixed number.
Creates the proper fraction of the given expression.
+
:{{examples|1=<div>
{{Example|1=
+
:* <code><nowiki>MixedNumber(3.5)</nowiki></code> yields <math>3 + \frac{1}{2}</math>.
<code>ProperFraction[3.5]</code> gives ''3 + 1/2''
+
:* <code><nowiki>MixedNumber(12 / 3)</nowiki></code> yields ''4''.
<code>ProperFraction[12/3]</code> gives ''4''
+
:* <code><nowiki>MixedNumber(12 / 14)</nowiki></code> yields <math>\frac{6}{7}</math>.</div>}}
<code>ProperFraction[12/14]</code> gives ''6/7''}}
+
{{note| 1=<div>See also [[Rationalize Command]].</div>}}

Latest revision as of 10:55, 12 October 2017

© 2024 International GeoGebra Institute