[Newbies] Number formatting printf/sprintf for Squeak?

David T. Lewis lewis at mail.msen.com
Thu Feb 19 03:34:08 UTC 2009

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?


More information about the Beginners mailing list