Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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

Possibly Related Threads…
Thread Author Replies Views Last Post
  Int ( money ) inc 5 439 11-30-2025, 12:45 AM
Last Post: hsiangch_ong
  Big problem for me. MystikShadows 11 1,934 01-16-2025, 05:11 AM
Last Post: JRace
  Problem with "MOD" Kernelpanic 5 1,001 01-06-2025, 02:37 AM
Last Post: Pete
  Problem with _Resize dano 7 1,233 10-22-2024, 07:22 PM
Last Post: dano
  Menu Run (No EXE) Problem GareBear 5 1,144 10-06-2023, 05:41 AM
Last Post: GareBear

Forum Jump:


Users browsing this thread: 1 Guest(s)