Scroll to navigation

isnum(1) General Commands Manual isnum(1)


isnum - Return code telling whether the input string is numerical


isnum string


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 time 4: String is a yyyy-mm-dd date


Jessica Mink, SAO (

WCSTools 6 November 2015