Officially goin out of my mind. Trivial INT problem
#1
Doggone it, I couldn't figure out why this program wasn't working, and it boils down to this:

Code: (Select All)
x = 35.51
y = x * 100
z = Int(y)
Print x, y, z

WTH, over? My results are: 35.51    3551    3550

How does that make any sense? Why is Int(3551) not simply 3551??
Reply


Messages In This Thread
Officially goin out of my mind. Trivial INT problem - by bert22306 - 10-31-2022, 03:34 AM



Users browsing this thread: 7 Guest(s)