Jump to content

Signed integers


Y_Less

Recommended Posts

Im writing a script to convert strings to an integer equivalent of the strings parts in order, but im having a bit of trouble as the compiler, to convert them correctly, needs a signed 4-byte integer, So if the value is ffffffff, then obviously I need -1. My problem is, what is 80000000? Is it plus or minus 2147483648? This is the middle number and the only one I have a problem with, not a major one, it could just cause a problem if someone ever happened to use it.

 

Edit: doesn't matter, solved it.

Edited by Y_Less
Link to comment
Share on other sites

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
  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.