True for 0 to 9.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=1), | intent(in) | :: | c |
the character |
elemental logical function is_digit(c) !! True for `0` to `9`. character, intent(in) :: c !! the character is_digit = c >= '0' .and. c <= '9' end function is_digit