check if value is numeric c" code example
Example 1: isdigit
Non-zero integer ( x > 0 ) Argument is a numeric character.
Zero (0) Argument is not a numeric character.
Example 2: c isdigit function
isdigit(myChar);
Non-zero integer ( x > 0 ) Argument is a numeric character.
Zero (0) Argument is not a numeric character.
isdigit(myChar);