John A. Mitchell wrote:
double value = atof(s);
[...]
Now I need to do this in "Java" using xerces-j
I don't know where to look to figure this out.
This really isn't the right forum for this question because
it's really about Java programming. But, to answer your
question, try:
double value = Double.parseDouble(s);
It will throw a NumberFormatException if it's bad and you
need to catch that exception.
--
Andy Clark * [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]