Returns an integer by truncating the decimal part of a floating-point number, somewhat like "floor"
Implemented by: decbasic, level2, colorext, GWBASIC, MSX, bw32, ABasiC, QBasic, VBDOS, FreeBASIC, Gambas, minibasicjs
With variations:
Also written as:
FIX simply truncates whatever goes after the decimal point of a real number. For positive values this looks pretty much as floor function which returns the immediately lesser integer number, but for negative values it plays an enormous difference because the returned value will be the immediately greater integer. For a "true floor" function, see INT.