Ns issmallint

From AOLserver Wiki
Revision as of 19:13, 21 June 2004 by WikiSysop (talk | contribs) (imported from WiKit id 590)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Man page: http://aolserver.com/docs/tcl/ns_issmallint.html


NAME

ns_smallint - Test to see if a number is a 'smallint'

SYNOPSIS

ns_smallint value

DESCRIPTION

This command returns true only if value consists entirely of digits, and contains from 1 to 6 digits.~~~False is returned in all other cases.

EXAMPLES

   ns_issmallint 12
   ns_issmallint thisswillreturn0

SEE ALSO

@@COMMAND_RELATED_COMMANDS@@

Category Documentation - Category Core Tcl API