tempuser Beginner
Joined: 05 Oct 2005 Posts: 28 Topics: 20 Location: INDORE
|
Posted: Wed May 21, 2008 9:05 am Post subject: Where I am doing wrong on this SORT card ? |
|
|
Hi.
I am having a PD filed of length 3.The content is like below.
I need to convert this field with the below formula.
((PD Value (converted to ZD) - 1)/12) + 1200
I am trying to use the below card.
OUTREC FIELDS=((+1,SUB,299,3,PD,DIV,+12),ADD,+1200)
When this is executed ,the value is coming as
1107
Where I am expecting the value of 1294.
((1134-1)/12)+1200)
(1133/12)+1200
94+1200
1294
Can some one help on this?
Thanks
Tempuser |
|