I wrote a little tool to print fractions/decimals as mixed numbers. Enjoy :)

Gofer it
        smalltalkhubUser: 'SeanDeNigris' project: 'SeansPlayground';
        package: 'MixedNumberPrinter';
        load.
        
Usage Examples:
        1.25 mixedNumberString = '1ΒΌ'. "use special ASCII characters when 
possible"
        1.125 mixedNumberString = '1 1/8'



-----
Cheers,
Sean
--
View this message in context: 
http://forum.world.st/ANN-MixedNumberPrinter-tp4825615.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Reply via email to