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: 

If I have a 4 decimal values in a field, then I want 2 only on the output.

Former Member
0 Kudos

Hi,

If I have a 4 decimal values in a field, then I want 2 only on the output of the smartform. what I have to do. Also I have to condense the value of that.

Thanks,

BSV

1 REPLY 1

Former Member
0 Kudos

Hi,

Define one packed number with 2 decimals and move the four decimals number to decimal 2 variable.

Ex:

Data:P(13) type P decimals 2,

t(13) type P decimals 4.

P = T.

write P.

Thanks ,CSR.

****Please reward if helpful.