Top "Int" questions

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

How to store phone numbers on MySQL databases?

Possible Duplicate: mysql datatype for telephne number and address Any suggestions on best practice to store telephone numbers in a …

mysql string database-design formatting int
Int to Decimal Conversion - Insert decimal point at specified location

I have the following int 7122960 I need to convert it to 71229.60 Any ideas on how to convert the int into …

c# int decimal type-conversion decimal-point
Checking if float is an integer

How can I check if a float variable contains an integer value? So far, I've been using: float f = 4.5886; if (…

c floating-point int
"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 …

python windows int long-integer
unsigned short vs unsigned int - sometimes they are the same range?

What's the difference between unsigned short and unsigned int? I found that unsigned short is 0-65,535 and unsigned int is 0…

c types int short
Typecasting in Python

I need to convert strings in Python to other types such as unsigned and signed 8, 16, 32, and 64 bit ints, doubles, floats, …

python string int bit casting
Convert String to Integer/Float in Haskell?

data GroceryItem = CartItem ItemName Price Quantity | StockItem ItemName Price Quantity makeGroceryItem :: String -> Float -> Int -> …

haskell floating-point int
What is the minimum value of a 32-bit signed integer?

What is the minimum value of a 32-bit signed integer, happens to be the security "challenge" question in order to …

int 32-bit signed minimum
The literal xyz of type int is out of range

I am working with data types at the moment in Java, and if I have understood correctly the type long …

java int long-integer
Why does Decimal.Divide(int, int) work, but not (int / int)?

How come dividing two 32 bit int numbers as ( int / int ) returns to me 0, but if I use Decimal.Divide() I …

c# math int divide