Modeling Money Units

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Modeling Money Units

Sean P. DeNigris
Administrator
There are several tools: Aconcagua, Money, Units; and at least two classes to overcome the imprecision of Floats: ScaledDecimal, FixedDecimal...

I found one thread where Hernan said they use Aconcagua [1], another from Squeak implying that ScaledDecimal is broken [2]. A third seemed to say that FixedDecimal would be better [3], which I hadn't heard in the handful of times money has been discussed on list (usually ScaledDecimal comes up).

For a simple case where someone wanted to write a small personal accounting app, which tool and which type would be the best place to start?

Thanks!

[1] http://forum.world.st/Money-units-tp68797p68800.html
[2] http://forum.world.st/Seaside-Re-Money-ScaledDecimal-is-it-really-appropriate-tt46446.html
[3] http://forum.world.st/Pharo-dev-Monetary-package-tt4692670.html
Cheers,
Sean