CINT was behaving like INT.
INT truncates a number to the the next lowest integer. CINT was doing the same thing.
CINT is supposed to round numbers, which it now does.
This program was inspired by a BBC program shared by Richard Russell with the "BASIC Programming Language" Facebook group via this...
No comments:
Post a Comment