EasyManuals Logo

Tandy 1000 Basic Reference Manual

Default Icon
411 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #165 background imageLoading...
Page #165 background image
Chawter
10
I
BASIC
Kevwords
FIX
Function
FIX(
num
ber)
Returns the truncated integer
of
number.
Unlike CINT, FIX does not round the fractional portion
of
num-
ber
when making it an integer. Instead, FIX simply strips the
fractional portion from
number
so
that the resultant value is
a
whole number. The result is the same precision
as
the argument
(except
for
the fractional portion).
Unlike INT, FIX does not return the next lower number
for
a
negative
number.
FIX is the same
as:
SGN(number)*INT(ABS(number)).
See also CINT and INT, which also return integer values.
Examples
PRINT FIXC2.6)
prints
2.
PRINT FIX(-2.6)
prints
-2.
163

Table of Contents

Other manuals for Tandy 1000

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Tandy 1000 and is the answer not in the manual?

Tandy 1000 Specifications

General IconGeneral
ProcessorIntel 8088
Processor Speed4.77 MHz
RAM128 KB (expandable to 640 KB)
Operating SystemMS-DOS 2.11
ManufacturerTandy Corporation
Release Year1984
StorageSingle or double 5.25" floppy disk drive (360 KB), optional hard drive
SoundTandy 3-voice sound
PortsParallel, Serial
GraphicsCGA (Color Graphics Adapter)
Graphics Modes320x200, 640x200

Related product manuals