Commit adds function to handle conversion from string to double. Function has the same concept as other str2*() functions.