|
-
October 12th, 2004, 09:29 PM
#1
Limit decimals in text input box
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|