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

  • Thread starter Thread starter Ronald S. Cook
  • Start date Start date
R

Ronald S. Cook

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top