OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [tix/] [man/] [GetInt.html] - Blame information for rev 1767

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
 
2
 
3
 
4
<TITLE>tixGetInt - Get the integer value of a string.</TITLE>
5
<Center><H2>tixGetInt - Get the integer value of a string.</H2></Center><hr>
6
 
7
</pre><H3>SYNOPSIS</H3>
8
<P>
9
<B>tixGetInt<I> ?-nocomplain? ?-trunc? string</I></B>
10
<P>
11
</pre><H3>DESCRIPTION</H3>
12
<P>
13
The command <B>tixGetInt</B></I> converts any number into an integer
14
number. By default, it will round the number to the nearest integer.
15
When the <B>-trunc</B></I> option is specified, the number is truncated
16
instead of rounded.
17
 
18
When the string is not a valid TCL numerical value and the
19
<B>-nocomplain</B></I> option is specified, <B>tixGetInt</B></I> will return
20
"0". Otherwise it will generate an error.
21
<P>
22
</pre><H3>KEYWORDS</H3>
23
Tix(n)
24
<!Serial 851729145>
25
<hr><i>Last modified Fri Jan 17 23:01:05 EST 1997 </i> ---
26
<i>Serial 853731299</i>

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.