why not 3 regular expressions?
1: check if its integer
2: if its a float
3: if its of the form 12.323e+3
those should be simple
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 3 of 3
Thread: floating constantThreaded View
|
Click Here to Expand Forum to Full Width |