Skip to Content
0
Former Member
Mar 15, 2007 at 08:18 AM

output Quan field correctly

60 Views

Hello!

How can I get the following outputs

"output var1 = 56.7

"output var2 = 789

instead of

"output var1 = 56.700

"output var2 = 789.000

"zs_vmeng = has the type QUAN length is 15 and decimal

" places are 3.

data var1 type zs_vmeng.

data var2 type zs_vmeng.

var1 = '56.7'.

var2 = 789.

write:/ var1.

write:/ var2.

"output var1 = 56.700

"output var2 = 789.000

Regards

Ilhan Ertas