Returns the string converted to a double value. When a conversion error occurs, an exception is thrown.