Jump to content

Recommended Posts

Posted

Hi. I just need someone to tell me what am I missing ... please read comments inside code.

$IntegerA = 9876543210123456789
$StringA = String ($IntegerA)
; $StringA returns string 9223372036854775807 (expected string 9876543210123456789)


$IntegerB = 8876543210123456789
$StringB = String ($IntegerB)
; $StringB returns string 8876543210123456789 (returns as expected)

Thank you very much.

Posted

9223372036854775807

its the largest number that a signed 64 bit integer can hold

in your calculator type 2^63 and you get 9223372036854775807

the last bit holds the sign for - or +

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...