head 1.1; branch 1.1.1; access ; symbols start:1.1.1.1 markom:1.1.1; locks ; strict; comment @# @; 1.1 date 2002.01.16.10.25.44; author markom; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2002.01.16.10.25.44; author markom; state Exp; branches ; next ; desc @@ 1.1 log @Initial revision @ text @ tixGetInt - Get the integer value of a string.

tixGetInt - Get the integer value of a string.


SYNOPSIS

tixGetInt ?-nocomplain? ?-trunc? string

DESCRIPTION

The command tixGetInt converts any number into an integer number. By default, it will round the number to the nearest integer. When the -trunc option is specified, the number is truncated instead of rounded. When the string is not a valid TCL numerical value and the -nocomplain option is specified, tixGetInt will return "0". Otherwise it will generate an error.

KEYWORDS

Tix(n)
Last modified Fri Jan 17 23:01:05 EST 1997 --- Serial 853731299 @ 1.1.1.1 log @Insight @ text @@