|
NCEPLIBS-bufr
11.7.0
|
Decode an integer from a character string. More...
Go to the source code of this file.
Functions/Subroutines | |
| subroutine | strnum (STR, NUM) |
| This subroutine decodes an integer from a character string. More... | |
Decode an integer from a character string.
Definition in file strnum.f.
| subroutine strnum | ( | character*(*) | STR, |
| NUM | |||
| ) |
This subroutine decodes an integer from a character string.
The string should contain only digits and (optional) trailing blanks. It should not contain any sign ('+' or '-') character nor any leading blanks nor embedded blanks.
| [in] | STR | – character*(*): String |
| [out] | NUM | – integer: Value decoded from STR
|
Program History Log:
| Date | Programmer | Comments |
|---|---|---|
| 1994-01-06 | J. Woollen | Original author |
| 2003-11-04 | J. Ator | Added documentation |
| 2009-04-21 | J. Ator | Use errwrt() |
Definition at line 23 of file strnum.f.
References errwrt(), and strsuc().
Referenced by fdebufr(), jstnum(), parutg(), seqsdx(), sntbfe(), and stseq().