Modify ↓
#2255 closed Bug (No Bug)
String value is treated as a number if starts with digits
| Reported by: | Vlad (bw0) | Owned by: | |
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | 3.3.8.1 | Severity: | None |
| Keywords: | string as a number | Cc: |
Description
Hi,
I played with the code provided in the documentation and decided to do some tests. All of a sudden, when using a value like 20QAZ the script reports that this value is positive, though it is not a number. This can be checked with this short piece of code:
Local $var = "20QAZ" If $var > 0 Then MsgBox(4096, "", "Value is positive.")
I didn't find any mentioning about this. Could you please check if this is a bug?
Attachments (0)
Change History (1)
comment:1 by , on Aug 30, 2012 at 3:40:50 PM
| Resolution: | → No Bug |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

Try reading the guidelines next time. Specifically the one that says if you're asking a question you're in the wrong place.
Closing as no bug since, well, it's not a bug.