AT&T 6300 Programmer's Manual page 264

Gwbasic by microsoft
Hide thumbs Also See for 6300:
Table of Contents

Advertisement

FIX
Function
Syntax
Remarks
Examples
7-108
Returns the truncated integer part of the
argument.
FIX(numexp)
FIX(numexp) is equivalent to
SGN(numexp)*INT(AB8(numexp)). The major
difference between FIX and INT is that FIX
does not return the next lower
numb~r
for a
negative argUment;
PRINT FIX(58.75)
58
Ok
~RINT
FIX(-58.75J
-58
Ok

Advertisement

Table of Contents
loading

Table of Contents