Mixed Fraction

Author

Eric W. Weisstein
April 14, 2004

This notebook downloaded from http://mathworld.wolfram.com/notebooks/Arithmetic/MixedFraction.nb.

For more information, see Eric's MathWorld entry http://mathworld.wolfram.com/MixedFraction.html.

©2005 Wolfram Research, Inc. except for portions noted otherwise

Code

ImproperForm[x_Integer]:=x
ImproperForm[x_]:=Function[{z,y},HoldForm[z+y],{HoldAll}]@@{Floor[x],x-Floor[x]}

Examples

3/2//ImproperForm

13/6//ImproperForm