Top "Int" questions

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

What's the difference between long long and long

What's the difference between long long and long? And they both don't work with 12 digit numbers (600851475143), am I forgetting something? #…

c++ int long-integer
Convert float to int in Julia Lang

Is there a way to convert a floating number to int in Julia? I'm trying to convert a floating point …

floating-point int julia
#1264 Out of range value fix?

When I try to insert the below into my MySQL INSERT INTO `rooms` (`id`, `ip`) VALUES ('131213', '-259857341'); …

mysql int outofrangeexception mysql-error-1264
Convert Character to Int in Swift 2.0

I just want to convert a character into an Int. This should be simple. But I haven't found the previous …

swift int character swift-playground swift2
How to convert Int to Hex String in Kotlin?

I'm looking for a similar function to Java's Integer.toHexString() in Kotlin. Is there something built-in, or we have to …

numbers integer int hex kotlin
Unexpected result in long/int division

I have values like this: long millis = 11400000; int consta = 86400000; double res = millis/consta; The question is: why res equals 0.0 (instead …

java int double division
What to do when you need integers larger than 20 digits on mysql?

Seems like BIGINT is the biggest integer available on MySQL, right? What to do when you need to store a …

mysql int varchar bigint
Why Does Math.pow(x,y) Count as a Double?

I'm writing a Java program to calculate how much food it will take to get a monster to a certain …

java int double pow
Convert std::string to integer

I'm trying to convert a std::string stored in a std::vector to an integer and pass it to a …

c++ string int atoi
How can I add an int (minutes) to LocalDateTime.now()?

I want to modify LocalDateTime.now() by adding a certain amount of minutes to it. How do I do that?

java int add