ScaledDecimal implementation available

Mark A. Schwenk mas at wellthot.com
Mon Jun 14 21:10:02 UTC 1999


Fellow Squeakers,

I have a preliminary implementation of ScaledDecimal support for Squeak. It has
little documentation and only minor testing so far. But if you have a use for it
now, try it and send me your feedback.

>From the ScaledDecimal class comment:

I represent fixed-point decimal numbers accurately with no limit to the number
of digits before or after the decimal point.

The implementation is based on Fractions with an added scale.

See ScaledDecimal class>>example1 for examples of use.

You can obtain a changeset for the latest version here:

	ftp://ftp.wellthot.com/pub/squeak/goodies/ScaledDecimal/

Enjoy!

-Mark Schwenk
 WellThot Inc.





More information about the Squeak-dev mailing list