Hello,

Can someone give me an idea on how to limit the number of decimals in a text box??

I have a simple example app I am working on that has some user input. The input is supposed to be dollar amounts, which may have a decimal added...

What I want to try to do is limit the amount of decimal places that users can input, IF they input them (decimals are not required).

For example, users should be able to enter 100 or 100.00, but not 100.0002.

any ideas? I can limit decimals shown in output, either by rounding, or formatting the output, but I cant limit them in input...

suggestions??


Thanks
jeff