How change this to work for a double StringToDouble( char src[] ); function?
I'm not sure if i understood your question correctly but if you just wanted to turn a string to double you could just use atof()

sorry if i misunderstood...by the way i think atof will just return something crappy if you try to put 'adf' in it or something...i would just use isdigit() and if it's okay then just use atof()