Returns a numeric representation of a hexadecimal string.
Dec ( "hex" [, flag ] )
| hex | The hexadecimal string to convert. |
| flag | [optional] Defines behavior. Can be one of the following: Default = string is interpretted as integer. See remarks. 1 = string is interpretted as 32bit integer 2 = string is interpretted as 64bit integer 3 = string is interpretted as double |
| Success: | Returns required data. |
| Failure: | Returns 0 sets @error to 1 an invalid hex string was used or if an overflow occurs. |
Local $dec = Dec("FFFF") ;returns the number 65535