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

Floating Point Number

Former Member
0 Likes
495

Hello, everyone ..

Does anybodey know how can I declare a type f field without all the zero's ?? ...

Meaning instead of 1.5000000000000000E02 I want to see 1.5E02.

Thanks in advance,

Rebeka..

3 REPLIES 3
Read only

Former Member
0 Likes
466

Hi Rebeka....

Why so you what do this? this is wrong way of doing it....

Assign it to type P with 2 decimals you will get the correct result...

you need it in tha same way as u said, move it to a character field and remove the ZERO's

Regards,

Prabhu Rajesh

Read only

0 Likes
466

Hey, Prabhu Rajesh.

P decimals 2 gives 150 ...

I want it in a form of 1.5E+02.........

Regards,

Rebeka

Read only

Former Member
0 Likes
466

ertert