Function is_number (o2scl)

O2scl : Function List

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 return false for some non-numbers.