xc-basic3 icon indicating copy to clipboard operation
xc-basic3 copied to clipboard

Invalid result for CINT() on first call

Open sine707 opened this issue 3 years ago • 1 comments

test = 0.12345
print cint(test)
print cint(test)

results to

19532
0

sine707 avatar Oct 28 '22 01:10 sine707

The fix is on the way... For the time being, adding this line at the top of your program will fix the issue: MEMSET 21, 37, 0

neilsf avatar Nov 04 '22 08:11 neilsf