Top "Numbers" questions

A number is a mathematical object used to count, measure and label.

HTML5 input box with type="number" does not accept comma in Chrome browser

I am using a HTML5 input box with type="number". Regarding to some documentations, it should be possible to enter …

html input numbers comma
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
Jquery: Get Maximum value in An Array of Numbers

With jquery, how can I get the maximum value in an array or numbers? Example: var myArray = [1,4,7,3,12,0] Expected Output:- …

javascript jquery arrays numbers highest
C++ complex numbers, what is the right format?

I want to use C++ with complex numbers. Therefore I included #include <complex>. Now my question is: How …

c++ numbers number-formatting
Extremely large numbers in javascript

I'm working on the Project Euler problems (currently question 13). For this question I have to find the first 10 digits of …

javascript types numbers integer biginteger
PHP subtract array values

I have an array with keys and values. Each value is an integer. I have an other array with the …

php arrays numbers integer subtraction
how to convert negative hexadecimal to decimal

hi I want to know how it is possible to convert a hexadecimal negative value (to complement encoding) to decimal, …

c encoding numbers decimal negative-number
R - Generate a sequence of numbers

I am trying to create sequences of number of 6 cases, but with 144 cases intervals. Like this one for example c(1:6, 144:149, 288:293) 1 2 3 4 5 6 144 145 146 147 148 149 288 289 290 291 292 293 …

r numbers sequence
The field must be a number. How to change this message to another language?

How can I change that messages for all int fields so that instead of saying: The field must be a …

asp.net-mvc validation localization numbers data-annotations
What is the fastest algorithm to calculate all factors of an integer number?

I have written this block of code but it is consuming lots of time to calculate... Can you help me …

c algorithm numbers factors