SubName: ValidNumber
Description: A multi purpose number validator
Private Sub ValidNumber(Str As String, Negative As Boolean, Decimal As Boolean) As Boolean
If Str = "" Then Return False
Dim RegexStr As StringBuilder
RegexStr.Initialize
If Negative Then RegexStr.Append("-?")...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.