Name: rlT66838 Date: 07/28/97
You have changed Float.valueOf() to parse the
entire string (rather than just the first n chars
that are numeric (or decimal). I understand that
in some cases this is what you want, but I want to
parse off the number even though there is a non
numerical string immediately following it. It is
especially frustrating becuase you dont offer
any sort of other primitive. All the float
conversion logic is trapped inside this method with
a silly policy!
======================================================================
- relates to
-
JDK-4487183 RFE: Want primitive wrapper classes to be able to test for NumberFormatException
-
- Closed
-