Application Development 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: 

is there any function module to convert hexadecimal format to normal decima

Former Member
0 Kudos

Hi,

is there any function module to convert hexadecimal format to normal decimals.

Regards,

Nandha.

4 REPLIES 4

Former Member
0 Kudos

You can directly assign hexa to decimal,

DATA hex TYPE X.

DATA dec TYPE i.

hex = '10'.

dec = hex.

Regards,

Wenceslaus

Former Member
0 Kudos

hi,

try using fm FITP_UTIL_CONVERT_HEX2DEC

Regards,

Sailaja.

Former Member
0 Kudos

HI Naddy,

simply do this..

parameters  : num1(5) type x.
data : dec type i.

dec = num1.
write : dec.

remember to pad the input with zeros

regards

satesh

former_member181962
Active Contributor
0 Kudos

NLS_STRING_CONVERT_FROM_SYS

NLS_STRING_CONVERT_TO_SYS

Regards,

Ravi