Skip to Content
0
Former Member
Sep 11, 2007 at 10:10 AM

sub-field access in type P

25 Views

Hi all.

please tell me how to access sub-field in type p variable.

Ex:-

data : na type p decimals 2 value '1002.20',

na1(2) type c.

na1 = na+3(2).

write : na1.

i want to get only last 2 values. ie '20'.

how to do this,<b> i dont want to change the type</b>

regards

prajwala.k