Acorn Computers BBC Micro Model B w/8271 — Acorn BBC Micro Model B w/8271 User Guide Manual PDF

251 INT integer part Purpose This converts a number with a decimal part to a whole number. This function always returns a whole number smaller than the number supplied. Thus INT(23.789) gives 23 whereas INT(-13.3) returns -14. Examples 200 X = INT(Y) 1050 wholenumber=INT (decimalnumber) 330 pence=INT(cost * markup/quantity) Description INT is a function converting a real number to the lower integer. Syntax = INT