Click here to Skip to main content
15,867,594 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
In my web application the user need to type numbers in textbox, while they are typing it will convert to Indian rupee format automatically.
Example: If i type 123456 it will convert automatically to 1,23,456 like.
How can i do this in javascript?
Posted
Updated 21-Sep-15 1:22am
v2

 
Share this answer
 
Refer below link this might be helpful to you
http://stackoverflow.com/questions/17018842/inr-currency-format-in-asp-net[^]
 
Share this answer
 
Hello ,
Try this
Console.WriteLine(String.Format("{0:n}", 1285534.45));

and out put will be
1,285,534.45
 
Share this answer
 

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