General/RndTvDta/rnd_tv_dta.cpp
double atofExt(char* str)
{
	char *end;
	double value = strtod(str, &end);
	if((end == str) || (*end != '\0'))
		throw string("Error: non-numeric value for a numeric argument.\n");
	return value;
}
//converts string to double, throws error if the string is unconvertable
converts string to double, throws error if the string is unconvertable
converts string to double throws error if the string is unconvertable
double atofExt(char* str)
{
	char *end;
	double value = strtod(str, &end);
	if((end == str) || (*end != '\0'))
		throw string("Error: non-numeric value for a numeric argument.\n");
	return value;
}
double atofExt ( char * str ) { char * end ; double value = strtod ( str , & end ) ; if ( ( end == str ) || ( * end != ' \0 ' ) ) throw string ( " \n " ) ; return value ; }
converts string to double, throws error if the string is unconvertable
converts string to double throws error if the string is unconvertable