Top "Int" questions

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

How do I convert a String to an int in Java?

How can I convert a String to an int in Java? My String contains only numbers, and I want to …

java string int type-conversion
Easiest way to convert int to string in C++

What is the easiest way to convert from int to equivalent string in C++. I am aware of two methods. …

c++ string int type-conversion
Get int value from enum in C#

I have a class called Questions (plural). In this class there is an enum called Question (singular) which looks like …

c# enums casting int
Java - Convert integer to string

Given a number: int number = 1234; Which would be the "best" way to convert this to a string: String stringNumber = "1234"; I …

java string numbers int
How can I convert String to Int?

I have a TextBoxD1.Text and I want to convert it to an int to store it in a database. …

c# .net string int type-conversion
How can I cast int to enum?

How can an int be cast to an enum in C#?

c# enums casting int
Convert int to string?

How can I convert an int datatype into a string datatype in C#?

c# string int
How can I convert a std::string to int?

Just have a quick question. I've looked around the internet quite a bit and I've found a few solutions but …

c++ string int
Java int to String - Integer.toString(i) vs new Integer(i).toString()

Sometimes java puzzles me. I have a huge amount of int initializations to make. What's the real difference? Integer.toString(…

java string int
Convert all strings in a list to int

In Python, I want to convert all strings in a list to integers. So if I have: results = ['1', …

python list int