public function isInteger(input)
Check if the input
string is a valid signed decimal integer string.
This function ignores leading and trailing whitespaces.
This function returns a logical value of .TRUE.
if the input
string is a valid signed decimal integer string.
A logical value of .FALSE.
will be returned where the input
string is empty(only spaces), 0 length, or is not a valid signed decimal integer string.
Arguments
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | input | A string. |