tagged [long-integer]
long vs Guid for the Id (Entity), what are the pros and cons
long vs Guid for the Id (Entity), what are the pros and cons I am doing a web-application on asp.net mvc and I'm choosing between the long and Guid data type for my entities, but I don't know which on...
- Modified
- 9 Feb at 11:23
How do I convert Long to byte[] and back in java
How do I convert Long to byte[] and back in java How do I convert a `long` to a `byte[]` and back in Java? I'm trying convert a `long` to a `byte[]` so that I will be able to send the `byte[]` over a ...
- Modified
- 28 Feb at 17:5
How to get the maximum number of a particular length
How to get the maximum number of a particular length I have a number, for example 1234567897865; how do I max it out and create 99999999999999 ? I did this this way: ``` int len = ItemNo.ToString().Le...
- Modified
- 29 Mar at 17:19
Will a long-integer work on a 32 bit system?
Will a long-integer work on a 32 bit system? If I understand it right an int-variable is saving in 32 bit, restricting it to -2 billion to 2 billion something. However if I use a long-variable it will...
- Modified
- 12 Mar at 20:50
How to convert / cast long to String?
How to convert / cast long to String? I just created sample BB app, which can allow to choose the date. After choosing the date, I need to convert that long value to String, so that I can easily store...
- Modified
- 3 Nov at 17:15
Long polling in SERVICE STACK
Long polling in SERVICE STACK We have developed a C# Webservice in Service stack. In this whenever we get a request for checking the availability of a Data we need to check in the Database and return ...
- Modified
- 3 May at 09:34
java.math.BigInteger cannot be cast to java.lang.Long
java.math.BigInteger cannot be cast to java.lang.Long I've got `List dynamics`. And I want to get max result using `Collections`. This is my code: This is my `getDynamics`: ``` public List getDynamics...
- Modified
- 21 Aug at 15:38
long long in C/C++
long long in C/C++ I am trying this code on GNU's C++ compiler and am unable to understand its behaviour: ``` #include ; int main() { int num1 = 1000000000; long num2 = 1000000000; long long num...
- Modified
- 14 May at 12:10
"OverflowError: Python int too large to convert to C long" on windows but not mac
"OverflowError: Python int too large to convert to C long" on windows but not mac I am running the exact same code on both windows and mac, with python 3.5 64 bit. On windows, it looks like this: ``` ...
- Modified
- 11 Jul at 18:51
What is the difference between "long", "long long", "long int", and "long long int" in C++?
What is the difference between "long", "long long", "long int", and "long long int" in C++? I am transitioning from Java to C++ and have some questions about the `long` data type. In Java, to hold an ...
- Modified
- 22 Nov at 18:9