Bug 36732

GemStone/S

6.1.6, 6.1.5, 6.1.x, 6.0.x, 5.1.5.1

All

6.2

Converting DoubleByteString to Number may lose information

When a DoubleByteString representing a floating point value is
converted to a Numbers using asNumber, any fractional portion
is lost.  For example, '23.44' asDoubleByteString asNumber
returns 23.

Workaround

Convert the DoubleByteString to a String before converting to a Number.


Last updated: 6/29/07