Christophe Verré wrote:I don't know where FloatingDecimal comes from
This is taken from java.lang.Double. FloatingDecimal is sun.misc.FloatingDecimal.
Shanky, all you need to know is what the Javadoc of this method tells you:
Returns a new double initialized to the value represented by the specified String, as performed by the valueOf method of class Double.
I won't quote the entire Javadoc of Double.valueOf; click on java.lang.Double and go to the valueOf(String) method.