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===
_______________________________________________
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners

Reply via email to