File: isnum.1

package info (click to toggle)
wcstools 3.9.7-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 14,684 kB
  • sloc: ansic: 113,336; sh: 553; makefile: 245; lisp: 86; sed: 1
file content (19 lines) | stat: -rw-r--r-- 533 bytes parent folder | download | duplicates (5)
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)