tixGetInt(n)
π tixGetInt(n) π
okay so bestie, welcome to the Tix Built-In Commands corner of the manual β this whole page is about tixGetInt, and it's literally here to get the integer value of a string. no cap. β¨
πΈ NAME πΈ
tixGetInt β get the integer value of a string. that's the assignment, and it ate. π
β¨ SYNOPSIS β¨
tixGetInt ?-nocomplain? ?-trunc? string
π DESCRIPTION π
tixGetInt converts any number into an integer number. by default, it rounds the number to the nearest integer. cute, simple, iconic.
when the -trunc option is specified, the number is truncated instead of rounded. so if rounding isn't the vibe, -trunc is your girl. π«Ά
-truncβ when specified, the number is truncated instead of rounded. that's it, that's the flag. β¨-nocomplainβ when the string is not a valid TCL numerical value and this option is specified,tixGetIntwill return"0". otherwise it will generate an error. so it's giving "no complaints, just zero," but only when you ask for it. π
π KEYWORDS π
that's the page, bestie! brought to you by Tix 4.0 and tixGetInt(n) β periodt. πβ¨
π¦ where this page comes from
- opensuse-leap 16.0: tix 8.4.3-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: tix 8.4.3-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: tix 8.4.3-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: tix 8.4.3-160000.2.2 Β· BSD-3-Clause
- Copyright (c) 1993-1999 Ioi Kim Lam
- Copyright (c) 2000-2001 Tix Project Group
- (c) 1990 The Regents of the University of California
- (c) 1994-1995 Sun Microsystems, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms