File: isnum.1

package info (click to toggle)
wcstools 3.9.4-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 13,888 kB
  • ctags: 4,397
  • sloc: ansic: 104,290; sh: 511; makefile: 236; sed: 1
file content (19 lines) | stat: -rw-r--r-- 533 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
.TH isnum 1 WCSTools "6 November 2015"
.SH Name
isnum \- Return code telling whether the input string is numerical
.SH Synopsis
isnum string
.br
.SH Description
.I isnum
is a utility for identifying and classifying an input string.
<B>isnum</B> returns an integer code depending on how it identifies the 
input number:
0: string is not any sort of number
1: String is an integer
2: String is a floating point number
3: String is a hh:mm:ss.ss time
4: String is a yyyy-mm-dd date

.SH Author
Jessica Mink, SAO (jmink@cfa.harvard.edu)