cancel
Showing results for 
Search instead for 
Did you mean: 

Reducing decimals 3 to 2

Former Member
0 Kudos

Friends,

I am strugling with this issue. Need to reduce output decimals from 3 to 2 for field VBDKA-NTGEW. Appreciate if i can get some help or suggestion on this please.

I tried this but no luck &VBDKA-NTGEW(.2)&.

Thank you,

Bobby

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

If &VBDKA-NTGEW(.2)& does not work,use a pre-defined datatype with decimal 2.

Jshree

Answers (3)

Answers (3)

koolspy_ultimate
Active Contributor
0 Kudos

try


&VBDKA-NTGEW(C7.2)&

or use decimals 2. in your code

Former Member
0 Kudos

Thank you. Like you all said, i did move the value to a decimal 2 variable and issue solved.

Thanks again.

Bobby

Former Member
0 Kudos

Hi,

DO you intend to round of to 2 decimal places? Or do you wish to remove the 3rd decimal?

You can assign the value to a new variable, having 2 decimal spaces.SHould solve your problem.

lijisusan_mathews
Active Contributor
0 Kudos

Try &VBDKA-NTGEW(C7.2)&