-
Notifications
You must be signed in to change notification settings - Fork 6
Closed
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Currently, the isnumeric() functions returns true only if all characters in the string are decimal digits (i.e. 0 - 9). It would be helpful to expand out the function to take in an argument that tells it to allow other type of numeric digits like hexadecimal.
Ex.
String num("0x3E8"); // Valid hexadecimal for 1000
REQUIRE(num.isnumeric(bool hex=true));
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers