added str2num.c