Top "Int" questions

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

ObjectiveC Parse Integer from String

I'm trying to extract a string (which contains an integer) from an array and then use it as an int …

iphone objective-c string int
Convert String to Integer in XSLT 1.0

I want to convert a string value in xslt to an integer value. I am using xslt 1.0, so i can't …

string xslt int
What's the difference between size_t and int in C++?

In several C++ examples I see a use of the type size_t where I would have used a simple …

c++ c types int
JOptionPane Input to int

I am trying to make a JOptionPane get an input and assign it to an int but I am getting …

java swing user-input int joptionpane
How to cast or convert an unsigned int to int in C?

My apologies if the question seems weird. I'm debugging my code and this seems to be the problem, but I'm …

c casting types int unsigned
Leading zeros for Int in Swift

I'd like to convert an Int in Swift to a String with leading zeros. For example consider this code: for …

string swift int type-conversion
How to check whether input value is integer or float?

How to check whether input value is integer or float? Suppose 312/100=3.12 Here i need check whether 3.12 is a float value …

java floating-point int rounding
Cannot implicitly convert type 'int' to 'short'

I wrote the following small program to print out the Fibonacci sequence: static void Main(string[] args) { Console.Write("Please …

c# int short
MySQL integer field is returned as string in PHP

I have a table field in a MySQL database: userid INT(11) So I am calling it to my page with …

php mysql types int gettype
How can I write these variables into one line of code in C#?

I am new to C#, literally on page 50, and i am curious as to how to write these variables in …

c# console int var console.writeline