toDouble

toDouble converts the string to a double. If formatting problems exits, or if the specified string is not a number, then Double.NaN is returned. Returns a double. Converts a string passed as an argument to a double.

toDouble(string s)