Gang Of Coders
Home
About Us
Contact Us
All Integer Solutions on Gang of Coders
Total of 219 Integer Solutions
How to convert an int to string in C?
C
String
Integer
How to display hexadecimal numbers in C?
C
Format
Integer
Printf
Hex
JSON values 1 or 0 - int or boolean
Json
Integer
Boolean
Is there or isn't there an integer type in JavaScript?
Javascript
Integer
Java Array HashCode implementation
Java
Integer
Hashcode
Split an integer into digits to compute an ISBN checksum
Python
Integer
Decimal
C++ floating point to integer type conversions
C++
Floating Point
Integer
Type Conversion
Typecast Operator
Python: why does `random.randint(a, b)` return a range inclusive of `b`?
Python
Random
Integer
Boundary
What's the right way to represent phone numbers?
Java
Integer
Phone Number
T-sql - determine if value is integer
Sql Server
Tsql
Casting
Integer
Isnumeric
What happens when I assign long int to int in C?
C
Casting
Integer
Variable Assignment
Long Integer
Loop starting at -1 doesn't print anything
C
Loops
Integer
Sizeof
Negative Number
round a floating-point number to the next integer value in java
Java
Integer
Floating Point
Rounding
What is 32-bit integer in JavaScript?
Javascript
Integer
What is the difference between intXX_t and int_fastXX_t?
C
Optimization
Types
Integer
C99
Swift convert UInt to Int
Integer
Swift
Uint32
Convert a number to a string with specified length in C++
C++
Integer
Stdstring
Convert integers to strings to create output filenames at run time
String
Integer
Fortran
Casting an int to a string in Python
Python
String
Integer
Concatenation
Display number with leading zeros
Python
Integer
String Formatting
Convert array values from string to int?
Php
Arrays
String
Integer
Explode
What is the difference between the float and integer data type when the size is the same?
Java
Floating Point
Integer
unsigned long long type printing in hexadecimal format
C
Integer
Printf
Scala Divide two integers and get a float result
Scala
Casting
Floating Point
Integer
Why is Number.MAX_SAFE_INTEGER 9,007,199,254,740,991 and not 9,007,199,254,740,992?
Javascript
Ecmascript 6
Integer
Ieee 754
An integer is required? open()
Python
File Io
Integer
Argv
How can I properly compare two Integers in Java?
Java
Integer
Autoboxing
Bash integer comparison
Bash
Comparison
Integer
How do I work around JavaScript's parseInt octal behavior?
Javascript
Integer
Octal
If the size of "long" and "int" are the same on a platform - are "long" and "int" different in any way?
C
Types
Integer
Representation
Mapping two integers to one, in a unique and deterministic way
Algorithm
Mapping
Integer
Deterministic
Math
What is the difference between an int and an Integer in Java and C#?
C#
Java
Integer
Int
Safest way to convert float to integer in python?
Python
Math
Integer
Python 2.x
Why does integer division yield a float instead of another integer?
Python
Integer
Python 3.x
Division
How does Java handle integer underflows and overflows and how would you check for it?
Java
Integer
Integer Overflow
Checking whether a variable is an integer or not
Python
Integer
Is there a way to iterate over a range of integers?
Loops
Go
Integer
Range
How to cast an Object to an int
Java
Object
Casting
Integer
Maximum and Minimum values for ints
Python
Integer
Converting integer to binary in python
Python
Binary
Integer
How to elegantly check if a number is within a range?
C#
Integer
Numbers
From list of integers, get number closest to a given value
Python
List
Sorting
Integer
Java integer to byte array
Java
Arrays
Integer
Byte
Call int() function on every list element?
Python
List
Type Conversion
Integer
Converting Integer to String with comma for thousands
Java
String
Integer
Converting a string to an integer on Android
Java
Android
String
Integer
Android Edittext
How do I generate random integers within a specific range in Java?
Java
Random
Integer
How do I convert a String to an int in Java?
Java
String
Type Conversion
Integer
What is the difference between Int and Integer?
Haskell
Numbers
Integer
Int
Bignum
Why is 128==128 false but 127==127 is true when comparing Integer wrappers in Java?
Java
Integer
Comparison
Pass by-Reference
Pass by-Value
How do I check if an integer is even or odd?
C
Integer
Designing function f(f(n)) == -n
Math
Integer
How to convert integer to string in C?
C
String
Integer
Type Conversion
Convert integer into its character equivalent, where 0 => a, 1 => b, etc
Javascript
Integer
Alphabet
Integer.valueOf() vs. Integer.parseInt()
Java
String
Integer
Decimal Point
Java: Integer equals vs. ==
Java
Integer
Wrapper
Primitive
Equals Operator
Why do == comparisons with Integer.valueOf(String) give different results for 127 and 128?
Java
Integer
Comparison
How to get the separate digits of an int number?
Java
Integer
Modulo
How Do I Convert an Integer to a String in Excel VBA?
Vba
String
Type Conversion
Integer
Can I hint the optimizer by giving the range of an integer?
C++
Optimization
Integer
Range
Compiler Optimization
Convert int to ASCII and back in Python
Python
Integer
Ascii
Encode
How can I force division to be floating point? Division keeps rounding down to 0?
Python
Floating Point
Integer
Division
Python 2.x
How to implement infinity in Java?
Java
Integer
Double
Long Integer
Infinity
Safe integer parsing in Ruby
Ruby
String
Exception
Integer
String Parsing
Visual Studio debugger - Displaying integer values in Hex
Debugging
Visual Studio-2008
Integer
Hex
How to concatenate a std::string and an int
C++
Integer
Concatenation
Stdstring
How to convert a boolean array to an int array
Python
Integer
Boolean
Type Conversion
Scilab
Efficient way to determine number of digits in an integer
C++
Integer
Digits
How to catch integer(0)?
R
Error Handling
Integer
Try Catch
How to convert 'false' to 0 and 'true' to 1?
Python
String
Integer
How do you check whether a number is divisible by another number?
Python
Integer
Modulo
Python: TypeError: cannot concatenate 'str' and 'int' objects
Python
String
Printing
Integer
Alternative to itoa() for converting integer to string C++?
C++
Integer
Stdstring
Itoa
How does Python manage int and long?
Python
Integer
How do I parse a string to a float or int?
Python
Parsing
Floating Point
Type Conversion
Integer
What do numbers using 0x notation mean?
C
Integer
Hex
Notation
How do you round UP a number?
Python
Floating Point
Integer
Rounding
How can I convert a std::string to int?
C++
String
Integer
C++ convert hex string to signed integer
C++
Integer
Hex
Signed
Convert integer into byte array (Java)
Java
Arrays
Integer
Byte
Round a floating-point number down to the nearest integer?
Python
Floating Point
Integer
Rounding
Why write 1,000,000,000 as 1000*1000*1000 in C?
Objective C
C
Integer
Literals
What is the difference between “int” and “uint” / “long” and “ulong”?
C#
Types
Integer
Unsigned
Signed
Converting BigDecimal to Integer
Java
Integer
Casting
Bigdecimal
Determining if a variable is within range?
Ruby
Integer
Conditional
Range
How can I check if a string represents an int, without using try/except?
Python
String
Integer
What's the maximum value for an int in PHP?
Php
Integer
Generate unique random numbers between 1 and 100
Javascript
Random
Integer
Numbers
How to sum up an array of integers in C#
C#
Arrays
Integer
Test whether string is a valid integer
String
Bash
If Statement
Integer
What is the default value of the nullable type "int?" (including question mark)?
C#
Integer
Nullable
Why isn't `int pow(int base, int exponent)` in the standard C++ libraries?
C++
Math
Integer
Standard Library
Pow
Check if the number is integer
R
Integer
Rounding
Why (0-6) is -6 = False?
Python
Debugging
Integer
Cpython
Why does Java think that the product of all numbers from 10 to 99 is 0?
Java
Integer
Integer Overflow
C++ performance challenge: integer to std::string conversion
C++
Performance
String
Integer
How to get the Power of some Integer in Swift language?
Integer
Double
Swift
Pow
Converting an integer to a string in PHP
Php
String
Casting
Type Conversion
Integer
Why is an int in OCaml only 31 bits?
Integer
Ocaml
How to print a number with commas as thousands separators in JavaScript
Javascript
Formatting
Numbers
Integer
Generating random whole numbers in JavaScript in a specific range
Javascript
Random
Integer
Parse v. TryParse
C#
Parsing
Integer
Tryparse
Why does Python 3 allow "00" as a literal for 0 but not allow "01" as a literal for 1?
Python
Python 3.x
Integer
Literals
Leading Zero
Converting List<Integer> to List<String>
Java
String
Collections
Integer
How to convert an IPv4 address into a integer in C#?
C#
Integer
Ip
Ipv4
how to convert from int to char*?
C++
Integer
Const Char
What does value & 0xff do in Java?
Java
Integer
Byte
Bitwise And
What's the difference between integer class and numeric class in R
R
Class
Object
Integer
Numeric
Test if string is a number in Ruby on Rails
Ruby on-Rails
Ruby
String
Integer
Why does int num = Integer.getInteger("123") throw NullPointerException?
Java
Integer
Nullpointerexception
Api Design
Autoboxing
Why cannot cast Integer to String in java?
Java
String
Casting
Integer
Efficient unsigned-to-signed cast avoiding implementation-defined behavior
C++
Casting
Integer
Language Lawyer
Integer Overflow
"Integer number too large" error message for 600851475143
Java
Integer
MySQL Error 1264: out of range value for column
Mysql
Sql
Insert
Integer
Large Numbers in Java
Java
Numbers
Integer
Biginteger
How to convert a string to an integer in JavaScript?
Javascript
String
Integer
Data Conversion
Different between parseInt() and valueOf() in java?
Java
Integer
Parseint
Value Of
How to parse a month name (string) to an integer for comparison in C#?
C#
Parsing
Integer
Compare
How can I use cout << myclass
C++
Class
Input
Integer
How to convert signed to unsigned integer in python
Python
Integer
Unsigned
Signed
Convert string with comma to integer
Ruby
Integer
Data Conversion
PostgreSQL: ERROR: operator does not exist: integer = character varying
Postgresql
Casting
Integer
Varchar
Does Java have mutable types for Integer, Float, Double, Long?
Java
Numbers
Integer
Mutable
Built In
How can I convert integer into float in Java?
Java
Integer
Floating Point
How can I use JavaScript to limit a number between a min/max value?
Javascript
Numbers
Integer
Is there a way to convert number words to Integers?
Python
String
Text
Integer
Numbers
How to convert Integer to int?
Java
Integer
Reading integers from binary file in Python
Python
File
Binary
Integer
Should I use uint in C# for values that can't be negative?
C#
Integer
Integer to two digits hex in Java
Java
Integer
Hex
Does JavaScript support 64-bit integers?
Javascript
Numbers
Integer
64 Bit
How to convert strings into integers?
Python
String
Integer
Why does the most negative int value cause an error about ambiguous function overloads?
C++
Integer
Overloading
Negative Number
Ambiguous Call
What happens if I assign a negative value to an unsigned variable?
C++
Type Conversion
Integer
Unsigned
Signed
Difference between uint8_t, uint_fast8_t and uint_least8_t
C++
C
Integer
Avr
C99
Way to get number of digits in an int?
Java
Integer
Pandas: create new column in df with random integers from range
Python
Pandas
Random
Integer
Range
Java Integer compareTo() - why use comparison vs. subtraction?
Java
Optimization
Integer
Comparison
Integer Overflow
Increment a Integer's int value?
Java
Class
Integer
Int
Signed versus Unsigned Integers
Integer
Unsigned
Signed
performance of unsigned vs signed integers
C++
C
Integer
Int
Unsigned
Definition of int64_t
C++
C
Integer
Long Integer
How to generate a random number in Elixir?
Random
Integer
Elixir
How to do an Integer.parseInt() for a decimal number?
Java
Parsing
Integer
Is there a built-in or more Pythonic way to try to parse a string to an integer
Python
Parsing
Integer
Finding the length of an integer in C
C
Integer
Digit
C# testing to see if a string is an integer?
C#
.Net
String
Integer
Check if a number has a decimal place/is a whole number
Javascript
Validation
Numbers
Integer
In C# integer arithmetic, does a/b/c always equal a/(b*c)?
C#
Math
Integer
Integer Arithmetic
Populating a list of integers in .NET
C#
.Net
List
Integer
Catch and compute overflow during multiplication of two large integers
C
Integer
Bit Manipulation
Multiplication
Integer Overflow
Why Use Integer Instead of Long?
Integer
Long Integer
Integer Overflow
Vba
Is there a way to get the largest integer one can use in Python?
Python
Integer
Convert integer to hex and hex to integer
Sql
Sql Server
Integer
Hex
What is the difference between tinyint, smallint, mediumint, bigint and int in MySQL?
Mysql
Integer
Generate random integers between 0 and 9
Python
Random
Integer
Why can't I inherit from int in C++?
C++
Inheritance
Integer
Language Design
Strong Typing
How can I pass an Integer class correctly by reference?
Java
Integer
Pass by-Reference
Why doesn't Java support unsigned ints?
Java
Language Design
Unsigned
Integer
c++ integer->std::string conversion. Simple function?
C++
Integer
Stdstring
Why use !! when converting int to bool?
C++
Integer
Boolean
PHP number: decimal point visible only if needed
Php
String
Automation
Integer
How can I convert a character to a integer in Python, and viceversa?
Python
Integer
Char
Type Conversion
How do you express binary literals in Python?
Python
Syntax
Binary
Integer
Literals
Convert boolean result into number/integer
Javascript
Numbers
Integer
Boolean
Type Conversion
Python strings and integer concatenation
Python
String
Integer
Concatenation
Converting String to Int with Swift
Ios
Swift
Cocoa Touch
Integer
Uitextfield
Extract a single (unsigned) integer from a string
Php
String
Integer
Text Extraction
Declaring an unsigned int in Java
Java
Integer
Unsigned
Simplest way to check if two integers have same sign?
Integer
Bit Manipulation
Sign
In Django models.py, what's the difference between default, null, and blank?
Python
Database
Django
String
Integer
How to handle very large numbers in Java without using java.math.BigInteger
Java
Math
Biginteger
Integer
Integer square root in python
Python
Math
Integer
Sqrt
strcmp equivelant for integers (intcmp) in PHP
Php
Function
Integer
Compare
Convert a string to integer with decimal in Python
Python
String
Integer
Decimal
Converting integer to string in Python
Python
String
Integer
Why doesn't Java throw an Exception when dividing by 0.0?
Java
Types
Integer
Double
Divide by-Zero
find if an integer exists in a list of integers
C#
Arrays
Integer
How to convert Int to Hex String in Kotlin?
Numbers
Integer
Int
Hex
Kotlin
How do I specify an integer literal of type unsigned char in C++?
C++
Integer
Constants
Language Lawyer
SQLite3 Integer Max Value
Sql
Sqlite
Integer
Ip
Convert an integer to an array of digits
Java
Integer
How to get integer values from a string in Python?
Python
String
Integer
What is the biggest ID number that autoincrement can produce in mysql
Mysql
Database
Integer
Auto Increment
formatting long numbers as strings in python
Python
Formatting
String
Integer
inheritance from str or int
Python
String
Inheritance
Integer
New Operator
How to get the Enum Index value in C#
C#
C
Enums
Integer
Order varchar string as numeric
Postgresql
Types
Casting
Indexing
Integer
Using int vs Integer
Java
Integer
Int
Primitive
What is the difference between "++" and "+= 1 " operators?
C++
Loops
Integer
Auto Increment
Increment
In C#, how to check whether a string contains an integer?
C#
String
Parsing
Integer
Tryparse
Converting characters to integers in Java
Java
Integer
Type Conversion
Character
Primitive
How can I check if a value is of type Integer?
Java
Integer
Convert boolean to integer value php
Php
Integer
Boolean
Type Conversion
Convert factor to integer
R
Integer
Coercion
Convert integers to written numbers
C#
Integer
string = string + int: What's behind the scenes?
C#
String
Casting
Integer
Long Vs. Int C/C++ - What's The Point?
C++
C
Integer
Long Integer
What is the maximum value for an int32?
Integer
Random float number between 0 and 1.0 php
Php
Random
Floating Point
Integer
What does the integer suffix J mean?
C++
C
Integer
Suffix
How do you do *integer* exponentiation in C#?
C#
Math
Integer
Exponentiation
How to split a string of space separated numbers into integers?
Python
Arrays
String
Split
Integer
Is there any reason not to use fixed width integer types (e.g. uint8_t)?
C
Integer
Byte
Sizeof
C99
Python: create dictionary using dict() with integer keys?
Python
Dictionary
Integer
Key
What does "0 but true" mean in Perl?
Perl
Integer
Boolean
How can I have a 64-bit integer in PHP?
Php
64 Bit
Integer
What is the differences between Int and Integer in Scala?
Scala
Types
Integer
Int
Numpy integer nan
Python
Numpy
Integer
Nan
Converting integer to digit list
Python
List
Integer
Type Conversion
%i or %d to print integer in C using printf()?
C
Console
Integer
Int
Printf
Using == operator in Java to compare wrapper objects
Java
Integer
Wrapper
Equals
Operator Keyword
How to find length of digits in an integer?
Python
Count
Integer
max value of integer
Java
C
Integer
Max
Bit
Javascript long integer
Java
Javascript
Json
Spring
Integer
Convert floats to ints in Pandas?
Python
Pandas
Floating Point
Integer
Dataset
How many objects are created by using the Integer wrapper class?
Java
Integer
Wrapper
Counting positive integer elements in a list with Python list comprehensions
Python
List
Sum
Integer
List Comprehension
Java Convert integer to hex integer
Java
Integer
Hex