Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2005-10-17
16:35 • Closed ticket [1328486fff]: string is integer "" => 1 ! plus 7 ... artifact: ae0a0a769a user: dkf
09:06 • New ticket [1328486fff]. artifact: f6c7d2efd6 user: nobody

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.