|
Proper fractions?: msg#00137lang.smalltalk.squeak.beginners
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===
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: More than 256 literals referenced., Robert Stehwien |
|---|---|
| Next by Date: | Re: Proper fractions?, nicolas cellier |
| Previous by Thread: | Refactoring into Packages, Richard Eng |
| Next by Thread: | Re: Proper fractions?, nicolas cellier |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |