03-19-2007 10:46 AM
03-20-2007 08:58 AM
03-21-2007 01:50 AM
Hi Sam:
I'm using this Testand expression to convert a mac address string to number:
Locals
.Local=val("0x1122334455ab",Locals.isvalid)The result is:
Locals.isvalid = True
local = 4294967295
I used Windows Calculator to convert this hex number (1122334455ab) to decimal & got the result: 18838586676651.So I understand that there is an overflow problem.
03-21-2007 10:38 AM
Unfortunately you can not store more than 32 bits in a Number. Since the converted hexidecimal value returns a decimal value that is larger than 32 bits then you see the overflow like you say.
What are you trying to do with the decimal value once you have it? Maybe there is a better way to accomplish your goal.
Regards,
03-21-2007 10:44 AM
03-21-2007 03:23 PM
03-21-2007 04:31 PM
03-26-2007 01:37 PM