Tandy 1000 Basic Reference Manual page 189

Hide thumbs Also See for 1000:
Table of Contents

Advertisement

Chapter
10 I
BASIC Keywords
INT
Function
INT(
num ber)
Converts
number to
the largest integer that is less than or equal
to number.
Number
is not limited to the integer range
-
32768 to 32767
The result has the same precision as
number
(except for the frac-
tional portion).
Unlike CINT, INT does not round positive numbers. It does,
however, round negative numbers.
Examples
P R I N T INTC79.89)
prints 79.
P R I N T
INT (-12.11)
prints -13.
187

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents