Modify ↓
#2581 closed Bug (Fixed)
Dec ( "hex" [, flag = 0] ) Does not respond like before.
| Reported by: | DutchCoder | Owned by: | Jon |
|---|---|---|---|
| Milestone: | 3.3.11.0 | Component: | AutoIt |
| Version: | 3.3.10.1 | Severity: | None |
| Keywords: | Cc: |
Description
It looks as if the optional flag is not responding anymore.
The return value equals 1 for every hex string.
Integer (default mode) still works fine.
Attachments (1)
Change History (5)
by , 12 years ago
| Attachment: | RealDec.au3 added |
|---|
comment:1 by , 12 years ago
comment:3 by , 12 years ago
| Milestone: | → 3.3.11.0 |
|---|---|
| Owner: | set to |
| Resolution: | → Fixed |
| Status: | new → closed |
Fixed by revision [9428] in version: 3.3.11.0
comment:4 by , 10 years ago
Replying to DutchCoder:
It looks as if the optional flag is not responding anymore.
The return value equals 1 for every hex string.
Integer (default mode) still works fine.
Note:
See TracTickets
for help on using tickets.

In fact it is flags 1 & 2 that do not work - flags 0 & 3 still do as shown here:
$nRet = Dec("FFF") ConsoleWrite("0 = " & $nRet & @CRLF) $nRet = Dec("FFF", 1) ConsoleWrite("1 = " & $nRet & @CRLF) $nRet = Dec("FFF", 2) ConsoleWrite("2 = " & $nRet & @CRLF) $nRet = Dec("FFF", 3) ConsoleWrite("3 = " & $nRet & @CRLF)3.3.10.2 returns:
3.3.8.1 returns:
M23