Skip to content
Tcl Source Code View Ticket
Login

View Ticket

string is integer "" => 1 !

Closed / Invalid1328486fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 21 years ago
Descriptionplain2005-10-17 09:06:05
Tcl version : 8.4.11.0
OS: any
Problem : string is integer "" returns 1
Expected behavior : it should return 0
dkfplain2005-10-17 16:35:40
Logged In: YES 
user_id=79902

Feature is as designed. You want to add the -strict option
  % string is integer -strict ""
  0
Log in (anonymous is fine) to add a comment.