[Newbies] Proper fractions?

Blake blake at kingdomrpg.com
Wed Jul 25 22:58:22 UTC 2007


Hey, guys:

	Any way to make the fraction class print itself out with its integer part  
separate from its fractional part. In other words, if I have

4/3

(an "improper" fraction) can I make it print out as:

1 1/3

? I mean, I know I can write a routine that does this but it seemed odd to  
me that one doesn't exist.

	(And who came up with that whole "improper" terminology? Some guys with  
small numerators, I'd bet....)

	===Blake===


More information about the Beginners mailing list