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

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ronald S. Cook

    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.

Working...