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: 

How to make the float variable 1,6000000000000000E+2 as 160 ?

Former Member
0 Kudos

hi, Can you help me how to convert the float type so that it can looks much better to users .

Regards ,

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Consider the code below, its serves your requirement, make changes accordingly

data:

expo type ANZ_TAGE,

temp(16) type p decimals 14.

expo = '3.9604320000000000E+08'.

move expo to temp.

write: expo,temp.

Reward points if useful, get back in case of query...

Cheers!!!

2 REPLIES 2

Former Member
0 Kudos

Consider the code below, its serves your requirement, make changes accordingly

data:

expo type ANZ_TAGE,

temp(16) type p decimals 14.

expo = '3.9604320000000000E+08'.

move expo to temp.

write: expo,temp.

Reward points if useful, get back in case of query...

Cheers!!!

0 Kudos

Great , it works .

Regards ,