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 is a mod of a program Richard Keijzer wrote in TRS-80 Level II BASIC (44 years ago) and recently shared with the BASIC Programming Lang...
No comments:
Post a Comment