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

Float point conversion

Former Member
0 Likes
492

Hello all,

I need to convert numbers from this format 5,555000000000000E+03 to this one: 5.555 (in CRM).

Does anybody know what function I could use?

Thanks in advance.

Carmen

Hello all,

I need to convert numbers from this format 5,555000000000000E+03 to this one: 5.555 (in CRM).

Does anybody know what function I could use?

Thanks in advance.

Carmen

2 REPLIES 2
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
465

Try moving it to a TYPE P field.

data: p type p decimals 3.
data: f type f.

p = f.

Write:/ p.

Read only

Former Member
0 Likes
465
REPORT zforum12 .

data : v1 type f.
data :v2 type p decimals 3.

v1 = v2 = '5.555'.

write:/ v1.
write:/ v2.

regards,

vijay