Top "Numbers" questions

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

How to get the numbers after the decimal point? (java)

double d = 4.321562; Is there an easy way to extract the 0.321562 on it's own from d? I tried looking in the …

java math numbers double decimal-point
Using AWK to filter out column with numerical ranges

I'm relatively new to BASH and I'm trying to use awk to filter out column 1 data based on the 4th …

bash numbers awk range
python re.sub group: number after \number

How can I replace foobar with foo123bar? This doesn't work: >>> re.sub(r'(foo)', r'\1123…

python regex numbers regex-group
TCP Sequence Number

I'm trying to understand how the sequence numbers of the TCP header are generated. In some places I read that …

tcp numbers sequence rfc
Non-repetitive random number in numpy

How can I generate non-repetitive random numbers in numpy? list = np.random.random_integers(20,size=(10))

random numpy numbers non-repetitive
Convert string to decimal number in ruby

I need to work with decimals. In my program, the user need to put a number with decimals to convert …

ruby numbers decimal
iOS: How to get a proper Month name from a number?

I know that the NSDateformatter suite of functionality is a boon for mankind, but at the same time it is …

ios numbers nsdateformatter
How can I use JavaScript to limit a number between a min/max value?

I want to limit a number between two values, I know that in PHP you can do this: $number = min(…

javascript numbers integer
What is the best way to validate a credit card in PHP?

Given a credit card number and no additional information, what is the best way in PHP to determine whether or …

php validation e-commerce numbers credit-card
What is the difference between Int and Integer?

In Haskell, what is the difference between an Int and an Integer? Where is the answer documented?

haskell numbers integer int bignum