Difference between revisions of "MixedNumber Command"

From GeoGebra Manual
Jump to: navigation, search
Line 1: Line 1:
 
<noinclude>{{Manual Page|version=4.0}}</noinclude>
 
<noinclude>{{Manual Page|version=4.0}}</noinclude>
 
{{command|CAS}}
 
{{command|CAS}}
;ProperFraction[ <Expression> ]
+
;MixedNumber[ <Number> ]
:Creates the proper fraction of the given expression.
+
:Converts the given number to a mixed number.
 
{{example|1=<div>
 
{{example|1=<div>
:* <code><nowiki>ProperFraction[3.5]</nowiki></code> yields <math>3 + \frac{1}{2}</math>.
+
:* <code><nowiki>MixedNumber[3.5]</nowiki></code> yields <math>3 + \frac{1}{2}</math>.
:* <code><nowiki>ProperFraction[12 / 3]</nowiki></code> yields ''4''.
+
:* <code><nowiki>MixedNumber[12 / 3]</nowiki></code> yields ''4''.
:* <code><nowiki>ProperFraction[12 / 14]</nowiki></code> yields <math>\frac{6}{7}</math>.</div>}}
+
:* <code><nowiki>MixedNumber[12 / 14]</nowiki></code> yields <math>\frac{6}{7}</math>.</div>}}

Revision as of 14:05, 23 August 2011


This command works in CAS View only.

MixedNumber[ <Number> ]
Converts the given number to a mixed number.
Example:
  • MixedNumber[3.5] yields 3 + \frac{1}{2}.
  • MixedNumber[12 / 3] yields 4.
  • MixedNumber[12 / 14] yields \frac{6}{7}.
© 2024 International GeoGebra Institute