Top "Digits" questions

Questions dealing with getting, manipulating, or changing the digits of numbers

sed extract digits

I try to extract digits with sed: echo hgdfjg678gfdg kjg45nn | sed 's/.*\([0-9]\+\).*/\1/g' but result is: 5 How …

sed extract digits
JavaScript format number to day with always 3 digits

Possible Duplicate: How can I create a Zerofilled value using JavaScript? I have to output a day number that must …

javascript numbers format digits days
Oracle SQL : search column that starts with digits

I'd like to find all the rows which column value begins with a digit. Its works well with this request : …

sql string oracle digits
Convert integer number to three digit

I have an integer variable .if its 1-9 it only displays as "1" or "9", I'm looking to convert the variable to …

c# asp.net integer digits
How do I generate a random n digit integer in Java using the BigInteger class?

I am unsure about how to generate a random n digit integer in Java using the BigInteger class.

java biginteger digits
Count the number of digits in a bash variable

I have a number num=010. I would like to count the number of digits contained in this number. If the …

bash shell digits
FoxPro functions which determine if a variable is a character string or a numeric string

I'm looking for a Visual FoxPro function which is similar to the PHP function is_numeric(). I have found this, …

string function foxpro visual-foxpro digits
add leading zeros to a list of numbers in Python

I am new to Python. I am trying to adjust the format of a list which looks like below: data=[1,10,313,4000,51234,123456] …

python string list format digits
Set edittext using only ",0123456789" programmatically in Android?

My question is this. I can say in xml android:digits="0123456789," But this time I've to it add trough java …

java android digits
Rounding to n significant digits

I'm trying to write code in MATLAB that will round number to certain (as I ask) significant digits. I'm not …

matlab floating-point digits significant-digits