88afade357d881a8a5775af64db2a6b693460afa
kent
  Thu Feb 19 21:17:48 2015 -0800
Adding isNumericString function.

diff --git src/inc/common.h src/inc/common.h
index 16e6c37..c6f2d69 100644
--- src/inc/common.h
+++ src/inc/common.h
@@ -1393,30 +1393,33 @@
 char *trueFalseString(boolean b);
 /* Return "true" or "false" */
 
 void uglyTime(char *label, ...);
 /* Print label and how long it's been since last call.  Call with
  * a NULL label to initialize. */
 
 /*	In case the development environment does not supply INFINITY	*/
 #if !defined(INFINITY)
 #define INFINITY (1.0/0.0)
 #endif
 
 void makeDirs(char* path);
 /* make a directory, including parent directories */
 
+boolean isNumericString(char *s);
+/* Return TRUE if string is numeric (integer or floating point) */
+
 char *skipNumeric(char *s);
 /* Return first char of s that's not a digit */
 
 char *skipToNumeric(char *s);
 /* skip up to where numeric digits appear */
 
 char *splitOffNonNumeric(char *s);
 /* Split off non-numeric part, e.g. mm of mm8. Result should be freed when done */
 
 char *splitOffNumber(char *db);
 /* Split off number part, e.g. 8 of mm8. Result should be freed when done */
 
 
 void childExecFailedExit(char *msg);
 /* Child exec failed, so quit without atexit cleanup */