Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
When MUST a variable be an Integer?
#2
decimal numbers do not work well for index to array but using default single works as long as you don't do any decimal, same goes for all routines that expect integers. sometimes qb64 rounds things or drops decimal and works, sometimes not.

hard to tell much without seeing where and how QS is being used
  724  855  599  923  575  468  400  206  147  564  878  823  652  556 bxor cross forever
Reply


Messages In This Thread
When MUST a variable be an Integer? - by Dimster - 04-27-2024, 02:28 PM
RE: When MUST a variable be an Integer? - by bplus - 04-27-2024, 03:09 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  for performance, what's the best variable type to use for boolean _TRUE & _FALSE ? madscijr 12 1,262 09-29-2025, 02:59 PM
Last Post: dakra137
  Why are SINGLE variables faster than INTEGER variables ? Elzaimer 18 2,380 07-07-2025, 05:01 AM
Last Post: ahenry3068
  generating a random number in the full range of that number? (Integer, Long) madscijr 2 663 05-01-2025, 09:11 PM
Last Post: madscijr
  testing a number's quare root is an integer and casting to a value? madscijr 22 3,516 01-29-2025, 11:12 PM
Last Post: Pete
  Determine a value is INTEGER TerryRitchie 17 3,344 07-27-2024, 05:03 PM
Last Post: Kernelpanic

Forum Jump:


Users browsing this thread: 1 Guest(s)