tixGetInt(3)

tixGetInt3

Get the integer value of a string.

Usage

tixGetInt ?-nocomplain? ?-trunc? string

Overview

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)

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 1 time.

  1. 6.0–9
  2. 10–13

From tix-dev 8.4.3-14 in Debian 13 (Trixie). Parsed by carta from the page's man source.