Determine if a string is numeric: Difference between revisions
m
corrected spelling
(added code for testing strings) |
m (corrected spelling) |
||
Line 2,023:
(defun string-valid-number-p (str)
"Test if STR is a numeric string.
Eliminate strings with commas in them because
not contain commas. Then check if remaining strings would be
valid ELisp numbers if the quotation marks were removed."
|