Or
You could use the right function to convert string to numeric
CCUR CDBL CSNG CLNG CINT
Code:If IsNumeric(txtInvValue.Text) Then ValIncTax = CCur(txtInvValue.text) End If
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 9 of 9
Threaded View
|
Click Here to Expand Forum to Full Width |