Overview
| Artifact ID: | 5e1ddabacf69d6da61d38510b7280c48fe5143c4 |
|---|---|
| Ticket: | 1510060fffffffffffffffffffffffffffffffff
[string is double -strict] versus [expr int()] |
| User & Date: | nobody on 2006-06-21 15:41:11 |
Changes
- assignee changed to: "dkf"
- cmimetype changed to: "text/plain"
- comment changed to:
My code looks like this: if {[string is double -strict $x]} { set y [expr {int($x)}] } This causes an error in the int($x) expression when $x had a value of NaN. I'm not sure what ought to be done about this. I just want to record the problem so that I don't forget about. - foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "18. Commands M-Z"
- title changed to: "[string is double -strict] versus [expr int()]"
- type changed to: "Bug"