Bug: 30896

Impact:

Product:
GemStone/S

Versions:
6.6.3.3, 6.6.3.2, 6.6.3, 6.6.2, 6.6.1, 6.6, 6.5.8, 6.5.7.5, 6.5.7, 6.5.6, 6.5.5, 6.5.4, 6.5.2, 6.5.1, 6.5, 6.3.1, 6.3, 6.2.x, 6.2, 6.1.6, 6.1.5, 6.1.x, 6.0.x, 5.1.5.1, 5.1.5

Platform:
All

Fixed In:

String>>asNumber fails with radix > 10 and character digits

String >> asNumber can be used to convert Strings containing
Integers in radix format into Integers.  However, for values that
contains character digits, such as '16rFF', it returns incorrect
results.  The code fails to understand the characters and defaults
to handling the String as a Float, returning the radix portion only
(in this case, 1.6000000000000000E+01)

Workaround:

Use Integer>>fromString: