Organizational Research By

Surprising Reserch Topic

boostr.in questions - Question:How to make a textbox accept only digits and formats numbers with commas?


I need a text box that:

(1) only accepts digits as characters.

(2) automatically continues to format numeric values with commas as the user types into it.

For example,

     1 becomes        1.00
    10 becomes       10.00
   100 becomes      100.00
  1000 becomes    1,000.00
 10000 becomes   10,000.00
100000 becomes 1,00,000.00

How to achieve that?
asked Sep 13, 2013 in ANDROID by rajesh
edited Sep 12, 2013
0 votes
25 views



Related Hot Questions



Government Jobs Opening


...