[Webfunds-users] 1.4.8/9 slightly broken

Ian Grigg iang@systemics.com
Tue Nov 30 08:40:21 1999


I'm trying to track down a bug which must be blindingly
obvious to experienced users, but somehow I didn't notice.

WebFunds has lost it's ability to convert between internal
units and display units - the units of contract are milligrams
for DigiGold, and the unit of account is grams.  But it is
now displaying unit of contract - milligrams, so it seems as
if everyone got an early xmas present.

I know the precise where it is occuring, but not the why.  The
Currency class overrides the Contract class, but the method for
calculation is reverting to the Contract class, which is default
no conversion.  If that makes sense...

iang