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