Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Numeric data

Status
Not open for further replies.

snowingnow

Programmer
Jun 1, 2006
32
0
0
CA
is there any function i can use to see if the data is numeric? Thanks
 
I don't think your question makes sense in the Tcl context. In Tcl, everything is a string. Are you asking if a given string contains only numbers (or possibly only numbers and ".")?

If so, the string is ... function or regexp can be made to work for you.

_________________
Bob Rashkin
 
Correction: Everything is an object that looks like a string ;)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top