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 a Turbo Basic program shared by Shahid Altaf Qureshi with the BASIC Programming Language group on Facebook...
No comments:
Post a Comment