Top "Integer" questions

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

Maximum and Minimum values for ints

I am looking for minimum and maximum values for integers in python. For eg., in Java, we have Integer.MIN_…

python integer
How to convert integer to string in C?

I tried this example: /* itoa example */ #include <stdio.h> #include <stdlib.h> int main () { int i; …

c string integer type-conversion
max value of integer

In C, the integer (for 32 bit machine) is 32 bits, and it ranges from -32,768 to +32,767. In Java, the integer(long) …

java c integer max bit
How Do I Convert an Integer to a String in Excel VBA?

How do I convert the integer value "45" into the string value "45" in Excel VBA?

vba string type-conversion integer
Display number with leading zeros

Given: a = 1 b = 10 c = 100 How do I display a leading zero for all numbers with less than two digits? This …

python integer string-formatting
How do you round UP a number in Python?

This problem is killing me. How does one roundup a number UP in Python? I tried round(number) but it …

python floating-point integer rounding python-2.x
How to convert an int to string in C?

How do you convert an int (integer) to a string? I'm trying to make a function that converts the data …

c string integer
Python String and Integer concatenation

I want to create string using integer appended to it, in a for loop. Like this: for i in range(1,11): …

python string integer concatenation
Safest way to convert float to integer in python?

Python's math module contain handy functions like floor & ceil. These functions take a floating point number and return the …

python math integer python-2.x
How can I force division to be floating point? Division keeps rounding down to 0?

I have two integer values a and b, but I need their ratio in floating point. I know that a &…

python floating-point integer division python-2.x