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
788

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
753

Hi,

A small example:

data myvalue type p decimals 0.

data myhex type XSTRING.

myhex = '064EF9AE'.

myvalue = myhex.

Svetlin

Hi,

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

Svetlin

5 REPLIES 5
Read only

Former Member
0 Likes
753

Hi,

Check this posting:

regards

Aveek

Read only

Former Member
0 Likes
754

Hi,

A small example:

data myvalue type p decimals 0.

data myhex type XSTRING.

myhex = '064EF9AE'.

myvalue = myhex.

Svetlin

Read only

0 Likes
753

thank you for the help

Read only

0 Likes
753

Hi,

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

Svetlin

Read only

0 Likes
753

Hi,

Kindly award points if the link has been useful.

regards

Aveek