Top "Long-integer" questions

A long integer is an integer number, typically twice the size of a standard integer.

What is the argument for printf that formats a long?

The printf function takes an argument type, such as %d or %i for a signed int. However, I don't see …

c printf long-integer
How to convert / cast long to String?

I just created sample BB app, which can allow to choose the date. DateField curDateFld = new DateField("Choose Date: ", System.…

java string type-conversion long-integer
How to printf "unsigned long" in C?

I can never understand how to print unsigned long datatype in C. Suppose unsigned_foo is an unsigned long, then …

c printf long-integer unsigned format-specifiers
How do I convert from int to Long in Java?

I keep finding both on here and Google people having troubles going from long to int and not the other …

java casting int long-integer
Initialize a long in Java

Primitive Data Types - oracle doc says the range of long in Java is -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807. But when I do …

java long-integer
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 …

c++ long-integer
Converting Long to Date in Java returns 1970

I have list with long values (for example: 1220227200, 1220832000, 1221436800...) which I downloaded from web service. I must convert it to Dates. …

java date long-integer
long long in C/C++

I am trying this code on GNU's C++ compiler and am unable to understand its behaviour: #include <stdio.h&…

c++ types long-integer
How could I convert data from string to long in c#

How could i convert data from string to long in C#? I have data String strValue[i] ="1100.25"; now i want …

c# string type-conversion long-integer
How to convert string to long

how do you convert a string into a long. for int you int i = 3423; String str; str = str.valueOf(i); …

java android string converter long-integer