You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Fredrik Westermarck <fr...@mdh.se> on 2003/09/02 21:55:47 UTC
[lang] [patch] Conversion of String to float
Hi!
Here is a patch that adds stringToFloat(String) and
stringToFloat(String, float) in o.a.c.lang.math.NumberUtils (including
testcases in NumberUtilsTest).
Re: [lang] [patch] Conversion of String to float
Posted by Fredrik Westermarck <fr...@mdh.se>.
Phil Steitz wrote:
> Fredrik Westermarck wrote:
>
>> Hi!
>>
>> Here is a patch that adds stringToFloat(String) and
>> stringToFloat(String, float) in o.a.c.lang.math.NumberUtils (including
>> testcases in NumberUtilsTest).
> Patch applied. Thanks. Similar methods for doubles and longs would
> also be nice ;-)
Hi!
I have already finished the methods and tests for doubles, I was only
waiting for the float-patch to be applied before sendning the next one... :)
I'll add the methods for longs when I've sent a patch with the ones
dealing with doubles.
Re: [lang] [patch] Conversion of String to float
Posted by Phil Steitz <ph...@steitz.com>.
Fredrik Westermarck wrote:
> Hi!
>
> Here is a patch that adds stringToFloat(String) and
> stringToFloat(String, float) in o.a.c.lang.math.NumberUtils (including
> testcases in NumberUtilsTest).
>
>
Patch applied. Thanks. Similar methods for doubles and longs would
also be nice ;-)
Phil
>
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org