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: 

Convert exponential format to ordinary format

Former Member
0 Kudos

Hi in my report i have two fields value_old and value_new. They are displaying value in the exponential format e.g. 1.000000E+02. But i want it to be printed as 100. Kindly help me on that

6 REPLIES 6

Former Member
0 Kudos

write 😕 field exponent 0.

Regards

Vasu

0 Kudos

thanks for ur quick reply. Could u ppls be a bit elaborate.

Thanks,

Former Member
0 Kudos

DATA : VAR TYPE P DECIMALS 2.

VAR = <PASS YOUR EXPONENT VALUE VARIABLE>.

WRITE : / VAR.

REGARDS

SHIBA DUTTA

varma_narayana
Active Contributor
0 Kudos

Hii..

data : v_fvar type f value '123.45'.

Write:/ v_fvar exponent 0.

REWARD IF HELPFUL.

Former Member
0 Kudos

Hi Nandi,

check this,

check this flow it may help.

data: a type string value '1.000000E+02'.

data: b type f.

data: c type p.

b = a.

c = b.

write:/ b, c.

Thanks,

Reward If Helpful.

Former Member
0 Kudos