Ns issmallint

From AOLserver Wiki
Jump to: navigation, 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