Index Page
cspice_prsint
A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X 

Abstract
I/O
Examples
Particulars
Required Reading
Version
Index_Entries

Abstract


   CSPICE_PRSINT parses a string as an integer number, 
   encapsulating error handling.

   For important details concerning this module's function, please refer to
   the CSPICE routine prsint_c.

I/O

   
   Given:
   
      string   a scalar string representation of an integer
               value
   
   the call:
   
      cspice_prsint, string, intval
   
   returns:
   
      intval   the scalar integer value signified by 'string'
   
   'string' lacks case or embedded space sensitivity. Legitimate
   expressions for input:
   
     Expression         intval
     ----------         ------
      +12.2 e-1           1
      PI                  3
      +pI                 3
      -pi                -3
      123 456             123456
   
   If 'string' included a fractional part of the number, the
   routine truncates the fractional component.

Examples


   None.

Particulars


   None.

Required Reading


   ICY.REQ

Version


   -Icy Version 1.0.1, 09-DEC-2005, EDW (JPL)

      Added Examples section.

   -Icy Version 1.0.0, 16-JUN-2003, EDW (JPL)

Index_Entries

 
   parse integer with encapsulated error handling 
 



Wed Apr  5 17:58:03 2017