Function is_number (o2scl)¶
-
bool o2scl::is_number(std::string s)¶
Return true if the string
s
is likely a integral or floating point number.Note
The test employed is not exhaustive and this function may return
true
for some numbers and may returnfalse
for some non-numbers.