Re: How to covert String("6,400.0") to Double ?



test_double.java:10: Method parseDouble(java.lang.String) not found in class
jav
a.lang.Double.
t = Double.parseDouble("-12000.001");

Compile error on java version "1.1.3". it is ok on java version
"Roedy Green" <look-on@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:niehe19897ugkrs21mb3de75othpdv97e4@xxxxxxxxxx
> On Thu, 28 Jul 2005 16:07:47 +0800, <moon_ils-se@xxxxxxxxxxxx> wrote
> or quoted :
>
> > double a = 23.0;
> > format = "23.0";
> > a = Double.parseDouble(format,10);
> > return a;
> > }
> for all your conversion problems consult
> http://mindprod.com/applets/converter.html
>
> --
> Bush crime family lost/embezzled $3 trillion from Pentagon.
> Complicit Bush-friendly media keeps mum. Rumsfeld confesses on video.
> http://www.infowars.com/articles/us/mckinney_grills_rumsfeld.htm
>
> Canadian Mind Products, Roedy Green.
> See http://mindprod.com/iraq.html photos of Bush's war crimes


.



Relevant Pages

  • Re: enum type declaration error
    ... there is C equivalent "enum" type existed in JAVA. ... initial experiment is giving compile error as below. ... public enum returnStatus ...
    (comp.lang.java.programmer)
  • Re: return statement should put beyond try/catch clause??
    ... > compile error though. ... > public String getValue() ... Sun Certified Developer for the Java 2 Platform ...
    (comp.lang.java.programmer)
  • enum type declaration error
    ... there is C equivalent "enum" type existed in JAVA. ... initial experiment is giving compile error as below. ... public enum returnStatus ... returnStatus retValue = new returnStatus; ...
    (comp.lang.java.programmer)
  • Re: who can tell me why
    ... EJP wrote: ... In Java the problem cannot arise, because it is a compile error: assignment doesn't have a boolean value in Java. ... I am not at all sure that making assignments expressions, ...
    (comp.lang.java.programmer)
  • Re: In praise of Eclipse
    ... Rumsfeld confesses on video. ... See http://mindprod.com/iraq.html photos of Bush's war crimes ... Keep it to Java, please. ... Rumsfeld in that transcript. ...
    (comp.lang.java.programmer)