Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

hexadecimal problem

Former Member
0 Likes
633

hello .

can you help me with this problem.

i have a asccii file which has some hexadecimal values

but in text-form .

example 64EF9AE.

how can i translate this text-value to its decimal value

which is 105839022.

thanks.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
598

Hi,

A small example:

data myvalue type p decimals 0.

data myhex type XSTRING.

myhex = '064EF9AE'.

myvalue = myhex.

Svetlin

5 REPLIES 5
Read only

Former Member
0 Likes
598

Hi,

Check this posting:

regards

Aveek

Read only

Former Member
0 Likes
599

Hi,

A small example:

data myvalue type p decimals 0.

data myhex type XSTRING.

myhex = '064EF9AE'.

myvalue = myhex.

Svetlin

Read only

0 Likes
598

thank you for the help

Read only

0 Likes
598

Hi,

If your question have been answered, please assign reward points.

Svetlin

Read only

0 Likes
598

Hi,

Kindly award points if the link has been useful.

regards

Aveek