Progress Monitor for IdealProgrammer.com
Take Swift, Intelligent, Massive, Planned, Loving, Effective (S.I.M.P.L.E.) Action to Transform Self into Ideal
Skip Repetitive Navigational Links
Home
News
Presenters
Register
Contact
Categories
Titles
Converter
Code Samples
C# ASP.NET
C# Console
HTML
JavaScript
SQL Server
VB ASP.NET
VB Console
Please login
VB.NET IsNumeric()
Description:
Illustrates using VB.NET IsNumeric() Code Example.
Example Class:
Public Class clsIsNumeric Public Sub Main() '**************************************************************************************** ' Example #1: IsNumeric(string) '**************************************************************************************** '**************************************************************************************** ' Example #1: IsNumeric(string) ' Returns a Boolean value that indicates if the string is Numeric. '**************************************************************************************** Console.WriteLine("Example #1: IsNumeric(strField)") Dim strField As String = "100.00" Console.WriteLine(IsNumeric(strField)) 'Returns True - decimals are numeric 'write blank line to make output easier to read Console.WriteLine() 'Prevent console from closing before you press enter Console.ReadLine() End Sub End Class
Example Module:
Module Module1 Sub Main() Dim myclsIsNumeric As New clsIsNumeric myclsIsNumeric.Main() End Sub End Module
Home
News
Presenters
Register
Contact
Categories
Titles
Converter
Code Samples
C# ASP.NET
C# Console
HTML
JavaScript
SQL Server
VB ASP.NET
VB Console