[Issue 3610] isNumeric("3.14w") is false.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jun 5 17:39:55 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=3610



--- Comment #4 from Andrei Alexandrescu <andrei at metalanguage.com> 2011-06-05 17:35:27 PDT ---
The main issue I'm having with isNumeric is that it's almost as much work as
actually parsing the thing. So why not just parse it as a double and see if it
sticks? Most of the time, if it's numeric, you also would want to know the
value.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list