• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 342
  • Last Modified:

How to determine if variable is numeric?

Can someone tell me how I could determine if a variable is numeric.  using VB6

Thanks,

-Mike
0
mtg82814
Asked:
mtg82814
  • 2
  • 2
1 Solution
 
Éric MoreauSenior .Net ConsultantCommented:
A Variant? See VarType in the help file.
0
 
mtg82814Author Commented:
thanks, i feel like an idiot, i've been using vb for a few years and didn't know that.
0
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
or IsNumeric( yourvariable)
0
 
Éric MoreauSenior .Net ConsultantCommented:
I still learn something myself almost everyday. I often feel idiot now that I am learning .Net!
0
 
mtg82814Author Commented:
sorry angellll, five minutes too late.

thanks for trying though
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now