Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2000
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*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 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