Re: [Pharo-users] Printing numbers

2015-02-24 Thread Cameron Sanders via Pharo-users
--- Begin Message --- Nice. Good to know about. thanks, cam On Tue, Feb 24, 2015 at 3:49 PM, p...@highoctane.be wrote: > This one may come handy. > > http://smalltalkhub.com/#!/~philippeback/HOExtras/packages/Printf > > Works like a C printf. > > Coupled with 'Blah {1} and {2}' format: { '5.2d'

Re: [Pharo-users] Printing numbers

2015-02-24 Thread p...@highoctane.be
This one may come handy. http://smalltalkhub.com/#!/~philippeback/HOExtras/packages/Printf Works like a C printf. Coupled with 'Blah {1} and {2}' format: { '5.2d' printf: aNumber. '%5s' printf: aString } it can go a long way. Phil

Re: [Pharo-users] Printing numbers

2015-02-24 Thread Mariano Martinez Peck
OK...Grease could be a start... (GRNumberPrinter new separator: $,; precision: 2; yourself) print: 12345678 On Tue, Feb 24, 2015 at 4:55 PM, Mariano Martinez Peck < marianop...@gmail.com> wrote: > Hi guys, > > I have quite some reports that print several numbers. Until n

Re: [Pharo-users] Printing numbers

2015-02-24 Thread Mariano Martinez Peck
On Tue, Feb 24, 2015 at 4:55 PM, Mariano Martinez Peck < marianop...@gmail.com> wrote: > Hi guys, > > I have quite some reports that print several numbers. Until now we were > using the default #greaseString. However, we now need to be able to start > printing nicer and customizable. For example,