checking for number

S

Servé La

Is there a standard method to test if a string has a double value in it
without using an exception?

The only method I find is using Double.Parse(str), but this throws an
exception which is essentially just another goto in your code preventing
structured programming :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top