Click here to Skip to main content
15,894,646 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello to all
how can create text box in java script have this properties
1- default begin with 0.000
2- add comma automaticlly in thousand number
example
input out put
2000 2,000
2000000 2,000,000
20000 20,000

in the finish you will have text box
begin
0.0000
and when you try it
input output
999 999.000
7659 7,659.000
988.986 988.986
8768.98 8,768.980
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900