cancel
Showing results for 
Search instead for 
Did you mean: 

Decimals digits in Sapscript

Former Member
0 Kudos

Dear Guys ,

I have a sapscript that uses a structure. A field of that structure is like that

QKG QUAN 15 3

My problem is that i want to display the integers with one decimal .

For example :

355 -


> 355,0

356,25 -


> 356,2

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

U declare another variable of TYPE P decimal 1 and move the value to this variable, then print it in the script form...

or

u call the variable as &NETWR(.1)& in script.

Rgds,

Pavan

Answers (2)

Answers (2)

Former Member
0 Kudos

HI,

Take the display variable of Type p decimals 1

former_member705122
Active Contributor
0 Kudos

&symbol(.N)&

In your case &symbol(.1)&

@aadil