Top "Int" questions

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

converting int to uint8_t

is it a correct way to convert an int value to uint8_t: int x = 3; uint8_t y = (uint8_t) …

c int type-conversion uint8t
NumPy or Pandas: Keeping array type as integer while having a NaN value

Is there a preferred way to keep the data type of a numpy array fixed as int (or int64 or …

python numpy int pandas type-conversion
How can I convert a Java HashSet<Integer> to a primitive int array?

I've got a HashSet<Integer> with a bunch of Integers in it. I want to turn it into …

java arrays int hashset
How to convert an int64 to int in Go?

In Go, what is the best strategy for converting int64 to int? I am having difficulty comparing the two package …

go int int64
Is it valid to compare a double with an int in java?

Utilities.getDistance(uni, enemyuni) <= uni.getAttackRange() Utilities.getDistance returns double and getAttackRange returns int. The above code is part …

java comparison int double primitive-types
Using long int in PHP

I am trying this out, but am unable to store large value $var = rand(100000000000000,999999999999999); echo $var; // prints a 9 digit value(…

php int unsigned-long-long-int
Converting KB to MB, GB, TB dynamically

public String size(int size){ String hrSize = ""; int k = size; double m = size/1024; double g = size/1048576; double t = size/1073741824; DecimalFormat …

java int double division operation
How to store extremely large numbers?

For example I have a factorial program that needs to save really huge integers that can be 50+ digits long. The …

c++ data-structures int large-data
MySQL: bigint Vs int

I have been using int(10) and just noticed that Wordpress uses bigint(20) - What is different to use bigint(20) and …

mysql database-design int biginteger auto-increment
How can I check if a string has a numeric value in it in Python?

Possible Duplicate: How do I check if a string is a number in Python? Python - Parse String to Float …

python string int converter