General information
Title:
Hex string to decimal conversion
Dear all,
When I try to convert some string values (in hex) into decimal I got this problem:
* note the lowest byte of aaa and bbb are different
aaa = '0x4530594B534652'
bbb = '0x4530594B53464E'
MESSAGEBOX(EVALUATE(aaa) = EVALUATE(bbb))
At this point both aaa and bbb are evaluated to the same decimal value (19474933467006540), and the messagebox display .T. for me of course.
I wonder if anyone has seen this before? Would really appreciate if a work around can be suggested. Thanks in advance!
Cheers
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only