1isnum(1)                    General Commands Manual                   isnum(1)
2
3
4

Name

6       isnum - Return code telling whether the input string is numerical
7

Synopsis

9       isnum string
10

Description

12       isnum  is  a  utility  for identifying and classifying an input string.
13       <B>isnum</B> returns an integer code depending on how it identifies the
14       input number: 0: string is not any sort of number 1: String is an inte‐
15       ger 2: String is a floating point number 3:  String  is  a  hh:mm:ss.ss
16       time 4: String is a yyyy-mm-dd date
17
18

Author

20       Jessica Mink, SAO (jmink@cfa.harvard.edu)
21
22
23
246 November 2015                    WCSTools                           isnum(1)
Impressum