Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Formatting a textbox field for numbers?

Status
Not open for further replies.

AllenRitch

Technical User
May 20, 2003
52
US
Is there anyway to format a textbox for decimal points or percentages (much the same way one would in a spreadsheet)?

For example: if the user typed 1.08 in the textbox, I would like it to show 108% after they leave the textbox.
 
Unfortunetly, I'm not that familiar with Javascript. Is there anyway to do it using VBScript or by setting the textbox properties?
 
No on properties and VBScript only works in IE, so you're limited by that.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top