NCEPLIBS-bufr 11.7.1
digit.f File Reference

Check whether the characters in a string are all numeric. More...

Go to the source code of this file.

Functions/Subroutines

logical function digit (STR)
 This logical function checks whether the characters in a string are all numeric. More...
 

Detailed Description

Check whether the characters in a string are all numeric.

Definition in file digit.f.

Function/Subroutine Documentation

◆ digit()

logical function digit ( character*(*)  STR)

This logical function checks whether the characters in a string are all numeric.

Author
J. Woollen
Date
1994-01-06
Parameters
[in]STR– character*(*): String
Returns
digit – logical: .TRUE. if all characters in STR are numeric; .FALSE. otherwise

Program History Log:

Date Programmer Comments
1994-01-06 J. Woollen Original author
2007-01-19 J. Ator Simplified logic
2009-03-23 J. Ator Fixed minor bug caused by typo

Definition at line 21 of file digit.f.

References digit().

Referenced by digit(), and numbck().