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,240

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

write 😕 field exponent 0.

Regards

Vasu

6 REPLIES 6
Read only

Former Member
0 Likes
1,052

write 😕 field exponent 0.

Regards

Vasu

Read only

0 Likes
1,052

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

Thanks,

Read only

Former Member
0 Likes
1,052

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,052

Hii..

data : v_fvar type f value '123.45'.

Write:/ v_fvar exponent 0.

REWARD IF HELPFUL.

Read only

Former Member
0 Likes
1,052

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,052