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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Decimal point

Status
Not open for further replies.

DUF

Technical User
Mar 10, 2001
107
0
0
IE
Hi,
Does anyone knowe of a code that will allow the user to enter a cash value in a textbox without having to use a decimal piont, I want to automatically insert the Decimal point???

Can you point me in the right direction

Regards

Duf
 
Something like this ?
If IsNumeric(Textbox1.Value) Then
myCashValue = CCur(Textbox1.Value) / 100
End If

Hope This Help, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top