i have one string including double value. Now i want to extract same value as double value. i.e. String val = "0.0001";
Now when i am extracting this value as double, it changes it's format i.e. 1.0E-4 using code: double valAsDouble = new Double(val);
I also want to extract the same value as long and bigdecimal format with the same format.
Please suggest me that how to get it?