digit
java Regex: replace all numerical values with one number
I have a simple line of text which might include numbers like \"12.3\" or \"1983\" or \"5/8\". Whenever any number appears, I just need to replace with a fixed character, say the digit \"8\".[详细]
2023-04-12 16:33 分类:问答How can I implement digit grouping input mask using InputFilter?
I am using InputFilter class to make a masked EditText supporting digit grouping. For example when the user inserts\" 12345\" I want to show \"12,345\" in EditText. How can I implement it?[详细]
2023-04-07 05:36 分类:问答Limit Numbers after Decimal on Key Press Event
I am using the following code to take only digits from user and only one decimal point , that is working fine for me on KeyPress Event :[详细]
2023-03-31 20:21 分类:问答jquery - single digit numbers should start with 0
Hi I am wondering is there anyway to make a single digit number ie:1 become 01 This is the code I using at the moment but all the single digits are only coming out as single digits[详细]
2023-03-31 20:14 分类:问答sed inserting dash into string
I have 14-character line containing digits. How do I insert a char into it at the specific location, i.e. at 4th? So, if I have string like this:开发者_如何学JAVA xxxxxxxxxxxxxx how do I change it to[详细]
2023-03-24 22:28 分类:问答How do you test whether a tab is active with dojo tabs
How do you test whether a tab is active or not with a dojo tab container?(In JQuery this is simple... you can use so开发者_如何学运维mething like this[详细]
2023-03-16 02:46 分类:问答long for 12 digit number?
I\'m trying to use long for 12 digit number but it\'s saying \"integer constant is too large for \"long\" type\", and I tried it with C++ and Processing (similar to Java).What\'s happening and what sh[详细]
2023-03-14 11:21 分类:问答GMP limitation big integer
i have a problem with GMP library for big integer. I set the big integer using the function mpz_t num; mpz_init(num);[详细]
2023-03-10 10:38 分类:问答0.5 displays as 0.5 even when I use round(0.5,2)
I have a number like 0.5, I would like to keep two digits 开发者_如何学JAVAin order to make the number 0.50. While the last digit is zero, so it always cannot appear.[详细]
2023-03-09 09:40 分类:问答jQuery question: How do I clean this code to be more effeciant, or is there a way to loop this?
This is my code, and it keeps repeating until :eq(15). I\'m new to jQuery and JavaScript in general and I doubt that I\'m doing this correctly. Can anyone help me with cleaning this code up into a loo[详细]
2023-02-25 07:51 分类:问答