Is it possible to make a textbox format inputted text into currency form (with comma separators and two decimal places) during input? I have tried formatting currencies from textbox input (after typing the text or after clicking a button) but is this possible during input (I mean, while you are typing, there will be and automatic comma for every three digits)?

Recommended Answers

All 4 Replies

I think using that might be too long for thirty currency input textbox...? I found this link but I cannot find the "Add Existing Project" option from there. I use Visual Studio 2010. But I'll try your suggestion anyway. Thanks. :)

I forgot to add: I want it to display commas during input but I want to capture the value of the input for computations.

I tried the solution from kRod and I'm fine with that. It's already working good. Thank you :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.