- ←Prev
- KAPLIBS – Internal subroutines used within the KAPPA package.
- Next→
- TOC ↑
Description:
This routine takes a string containing a numerical value, and counts the number of
significant digits in the value. Thus leading and trailing zeroes are excluded.
Invocation
CALL KPG1_SGDIG( STRING, NSDIG, STATUS )
Arguments
STRING = CHARACTER
(
)
(Given)
The string containing the numerical value. An error is returned if the value cannot be
converted to a double-precision value without error.
NSDIG = INTEGER (Returned)
The number of
significant digits in the string if it is treated as a numerical value.
STATUS = INTEGER (Given and
Returned)
The global status.
- ←Prev
- KAPLIBS – Internal subroutines used within the KAPPA package.
- Next→
- TOC ↑