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 is a port and mod of Antoni Gual Via's program shared with the "BASIC, QBasic, GWBasic computer programming"'...
No comments:
Post a Comment