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

Convert exponential format to ordinary format

Former Member
0 Likes
1,238

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

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
Read only

Former Member
0 Likes
1,050

write 😕 field exponent 0.

Regards

Vasu

Read only

0 Likes
1,050

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

Thanks,

Read only

Former Member
0 Likes
1,050

DATA : VAR TYPE P DECIMALS 2.

VAR = <PASS YOUR EXPONENT VALUE VARIABLE>.

WRITE : / VAR.

REGARDS

SHIBA DUTTA

Read only

varma_narayana
Active Contributor
0 Likes
1,050

Hii..

data : v_fvar type f value '123.45'.

Write:/ v_fvar exponent 0.

REWARD IF HELPFUL.

Read only

Former Member
0 Likes
1,050

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.

Read only

Former Member
0 Likes
1,050