returns true if the given string contains a numeric integer or float value
the string to be tested
true if string contains only digits
returns true if the given string contains a numeric integer or float value