Top "Integer" questions

Common datatype in many programming languages for representing a whole number.

Why Use Integer Instead of Long?

I often see questions relating to Overflow errors with vba. My question is why use the integer variable declaration instead …

integer long-integer integer-overflow vba
postgresql - integer out of range

Not the slightest idea why the hell this is happening.. I've set up a table accordingly: CREATE TABLE raw ( id …

postgresql integer runtime-error
Swift convert UInt to Int

I have this expression which returns a UInt32: let randomLetterNumber = arc4random()%26 I want to be able to use the …

integer swift uint32
C represent int in base 2

Possible Duplicate: Can I use a binary literal in C or C++? I am learning C and i recently found …

c binary integer representation
Check if the input is a number or string in C++

I wrote the following code to check whether the input(answer3) is a number or string, if it is not …

c++ string integer user-input string-conversion
Does JavaScript support 64-bit integers?

I have the following code: var str = "0x4000000000000000"; //4611686018427387904 decimal var val = parseInt(str); alert(val); I get this value: "4611686018427388000", which …

javascript numbers integer 64-bit
Catch and compute overflow during multiplication of two large integers

I am looking for an efficient (optionally standard, elegant and easy to implement) solution to multiply relatively large numbers, and …

c integer bit-manipulation multiplication integer-overflow
How do I work around JavaScript's parseInt octal behavior?

Try executing the following in JavaScript: parseInt('01'); //equals 1 parseInt('02'); //equals 2 parseInt('03'); //equals 3 parseInt('04…

javascript integer octal
VB6 overflow error with large integers

I am trying to set an integer value as such: Dim intID as integer intID = x * 10000 This works ok when …

vb6 integer overflow
Convert a number to a string with specified length in C++

I have some numbers of different length (like 1, 999, 76492, so on) and I want to convert them all to strings with …

c++ integer stdstring