From: Cor Ligthert[MVP] on 5 Mar 2010 11:39 To make it more confusing and to be before Herfried (which is already for years answering this question), You would define was is a number, if you mean it are only characters 0 to 9, then IsNumeric is not what you want, because it accept also numbers with exponents and hex numbers. Cor "Saga" <antiSpam(a)nowhere.com> wrote in message news:O89lk$HvKHA.3896(a)TK2MSFTNGP02.phx.gbl... >> You are confusing VisualBasic with VisualBasic.Compatability. >> VisualBasic is >> the core VB language functions and are meant to be used - >> VisualBasic.Compatability is there for easier conversion of legacy code >> and >> should be avoided. >> > Yes, I am confusing them. Thanks both for the clarafication! > Saga > >> -- >> Tom Shelton > >
From: Saga on 10 Mar 2010 10:37 Thanks for the reply Cor, > You would define was is a number, if you mean it are only characters 0 to > 9, then IsNumeric is not what you want, because it accept also numbers > with exponents and hex numbers. > > Cor > Yes, you are correct. Knowing the valid data that IsNumeric will classify as a valid number has kept me away from this function, except for the simplest of number validation (works great if the data is only 1 char). Thanks for your input! Saga
First
|
Prev
|
Pages: 1 2 Prev: How do I determine is string is number? Next: SendKeys and Keyboard Hook |