Created
November 17, 2016 09:52
-
-
Save kapilraj2436/8410f35119e8b35fc137cd234052e5ad to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Problem :- Error Occured when compilling my code which gives error - | |
Method parseDouble(java.lang.String) not found in class java.lang.Double. | |
double _contractNett = Double.parseDouble(_contractNet); | |
Solution :- After Reaserch I found that the runtime environment I was using belongs to an older version of Java, a pre-1.2 release for sure. The method 'parseDouble' was first introduced in Java 1.2. So if enyone is using Older version or Java 1.1 then he can Solve this Problem like this ....... :-- | |
double _contractNett = Double.valueOf(_contractNet).doubleValue(); | |
That's It.... Problem solved. | |
I hope It will help. :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment