MathGroup Archive 2000

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

Search the Archive

Displaying Mixed Numbers

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

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