1tixGetInt(n) Tix Built-In Commands tixGetInt(n)
2
3
4
6 tixGetInt - Get the integer value of a string.
7
9 tixGetInt ?-nocomplain? ?-trunc? string
10
12 The command tixGetInt converts any number into an integer number. By
13 default, it will round the number to the nearest integer. When the
14 -trunc option is specified, the number is truncated instead of rounded.
15
16 When the string is not a valid TCL numerical value and the -nocomplain
17 option is specified, tixGetInt will return "0". Otherwise it will gen‐
18 erate an error.
19
21 Tix(n)
22
23
24
25
26Tix 4.0 tixGetInt(n)