[Newbies] Number formatting printf/sprintf for Squeak?

Yoshiki Ohshima yoshiki at vpri.org
Thu Feb 19 20:28:45 UTC 2009


At Thu, 19 Feb 2009 12:11:33 -0800,
Yoshiki Ohshima wrote:
> 
> At Wed, 18 Feb 2009 22:34:08 -0500,
> David T. Lewis wrote:
> > 
> > On Wed, Feb 18, 2009 at 02:37:27PM -0500, Matthew Fulmer wrote:
> > > On Wed, Feb 18, 2009 at 11:28:29AM -0800, Chris Cunningham wrote:
> > > > I'd be leary of basing Currency off of ScaledDecimal, especially if there is
> > > > to be much manipulation of it (such as multiplication or division).  The
> > > > reason is that ScaledDecimal keeps the representation of their numbers as
> > > > fractions under the covers - which can results in some odd (and incorrect)
> > > > results.
> > > 
> > > ScaledDecimal is also probably going to be removed from squeak
> > > soon, as it has licensing issues.
> > 
> > Arrgh! I started using ScaledDecimal for representing time magnitudes
> > in TimeZoneDatabase <http://wiki.squeak.org/squeak/1076> quite some
> > time ago, and it works very well and is quite efficient. Are the
> > licensing issues resolvable? Can I help?
> 
>   1.  Try to find  Richard A. Harmon.  I for example looked up the
>       name in Skype and send text chat to all of them, but didn't get
>       any response.  If you know other ways, please try.
> 
>   2.  Write a new package.

  And also:

    3.  Port somebody else code.

    4.  Apparently, Mark Schwenk once released his code.
        (http://lists.squeakfoundation.org/pipermail/squeak-dev/1999-June/021113.html)
        If we can get his code, we see how well it works and possibly
        put it in instead.

-- Yoshiki


More information about the Beginners mailing list