469,322 Members | 1,633 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,322 developers. It's quick & easy.

How format textbox so "2" becomes "2.00"?

Stupid question for the day but weirdly I don't have this yet.

How can I format a textbox such that if the user enters a number like 4 it
will become (on validated) 4.00.

If they enter 5.1 it will become 5.10.

If they enter 1.239 it will become 1.24.

Thanks for the help.

Jun 1 '08 #1
0 1355

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Robin Tucker | last post: by
16 posts views Thread by Al Reid | last post: by
7 posts views Thread by Stimp | last post: by
16 posts views Thread by mj.redfox.mj | last post: by
3 posts views Thread by Ronald S. Cook | last post: by
1 post views Thread by Ronald S. Cook | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.