Dec
From AutoIt Wiki
Returns a numeric representation of a hexadecimal string. Adapted from AutoIt docs.
Contents |
[edit] Syntax
$x = Dec("hex")
[edit] Parameters
| hex | The hexadecimal string to convert up to the signed 32-bit integer bounds (-2147483648 to 2147483647). |
[edit] Return Value
Success: Returns an integer.
Failure: Returns 0 and sets @error to 1 if an invalid hex string is used or if an overflow occurs.
[edit] Example
$dec = Dec("FFFF") ;returns the number 65536
