MathGroup Archive 2000

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

Search the Archive

Displaying Mixed Numbers


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