Dec
From AutoIt Wiki
Returns a numeric representation of a hexadecimal string. Adapted from AutoIt docs.
Contents |
Syntax
$x = Dec("hex")
Parameters
| hex | The hexadecimal string to convert up to the signed 32-bit integer bounds (-2147483648 to 2147483647). |
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.
Example
$dec = Dec("FFFF") ;returns the number 65536