Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
_INTEGER64 calculation
#1
Hi all

Just a quick query.

Why does this code produce these results


billion&& = 10000000000
PRINT billion&&
billionCalc&& = 100000 * 100000
PRINT billionCalc&&


10000000000
1410065408

Is it something to do with the type that would be used for the 2 x 100000 values are not _INTEGER64, so it miscalculates them, or am I just not getting it.
Reply


Messages In This Thread
_INTEGER64 calculation - by vinceg2022 - 07-25-2022, 09:12 PM
RE: _INTEGER64 calculation - by SMcNeill - 07-25-2022, 09:33 PM
RE: _INTEGER64 calculation - by bplus - 07-25-2022, 10:12 PM
RE: _INTEGER64 calculation - by SMcNeill - 07-26-2022, 12:26 AM
RE: _INTEGER64 calculation - by vinceg2022 - 07-26-2022, 05:09 AM
RE: _INTEGER64 calculation - by aurel - 07-26-2022, 03:00 PM
RE: _INTEGER64 calculation - by Pete - 07-27-2022, 04:02 AM
RE: _INTEGER64 calculation - by bplus - 07-27-2022, 12:00 PM
RE: _INTEGER64 calculation - by aurel - 07-26-2022, 03:05 PM



Users browsing this thread: 1 Guest(s)