Modify ↓
Opened 15 years ago
Closed 15 years ago
#1854 closed Bug (Fixed)
StringIsFloat returns 1 on non float numbers
| Reported by: | Owned by: | Jon | |
|---|---|---|---|
| Milestone: | 3.3.7.2 | Component: | AutoIt |
| Version: | 3.3.6.1 | Severity: | None |
| Keywords: | String Float | Cc: |
Description
Here is a simple example that reproduces this bug:
For $i = 1 To 255
$sChar = Chr($i)
$vFloat = $i & '.' & $sChar
If Not StringIsDigit($sChar) And StringIsFloat($vFloat) Then
ConsoleWrite('StringIsFloat(' & $vFloat & ') = 1' & @LF)
EndIf
Next
Attachments (0)
Change History (2)
comment:1 by , 15 years ago
comment:2 by , 15 years ago
| Milestone: | → 3.3.7.2 |
|---|---|
| Owner: | set to |
| Resolution: | → Fixed |
| Status: | new → closed |
Fixed by revision [5992] in version: 3.3.7.2
Note:
See TracTickets
for help on using tickets.

A unicode bug that's been undetected for 4 years. Unreal.