Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2000

[Date Index] [Thread Index] [Author Index]

Search the Archive

Displaying Mixed Numbers

  • To: mathgroup at
  • Subject: [mg25149] Displaying Mixed Numbers
  • From: "Robert Hunn" <rwhunn at>
  • Date: Sun, 10 Sep 2000 21:25:42 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

Method I use is:

MixedFraction[f_] :=
  Module[{ip, fp}, ip = IntegerPart[f]; ip = If[ip == 0, "", ip];
    fp = FractionalPart[f]; Print[ip, fp]]

  • Prev by Date: Re: Re: Simple integral wrong
  • Next by Date: Re: Number Combining/Wheeling
  • Previous by thread: Displaying Mixed Numbers
  • Next by thread: Re: Displaying Mixed Numbers