Storing floats, etc in GOODS
Yar Hwee Boon
hboon at motionobj.com
Fri Oct 22 13:09:07 UTC 2004
Hi
Storing floats, etc in GOODS, using Avi Bryant's client, numbers such as
3.2 are returned as 3.199999809265137. Seems that GOODS stores floats
using the IEEE 32 bit format. How do you work around it? I'm storing money
one in currency only. Create a currency class, maybe? Thanks.
--
Regards
HweeBoon
MotionObj
More information about the Squeak-dev
mailing list
|