Menu

Packed Numeric conversion problem

FAQ
fdeutsch
2005-10-17
2013-03-26
  • fdeutsch

    fdeutsch - 2005-10-17

    I downloaded the latest version for V5R1 (we are at V5R2) and encountered a problem that was not there before (I have been using the same file to test).  Packed 13,4 value of 950,833.0000 was showing up correctly as 950,833.0000, now it is being converted as
    95,083,300,000,000,000,000,000.0000

     
    • Tommy Holden

      Tommy Holden - 2005-10-18

      I'll look into this tonight.

       
    • Bichel

      Bichel - 2005-10-20

      The same problem is in XLNEW for V5R3.

       
    • Bichel

      Bichel - 2005-10-20

      Problem solved for V5R3 version

      the program UNPACK:
      c*                  Eval      %Subst(ZoneOut:EndPos:StrPos)=%Trim(Zoned
      c                   EvalR     ZoneOut=Zoned 

      wrong stmt commented with '*' should be:
      c                   Eval      %Subst(ZoneOut:EndPos:StrPos)=%Trim(Zoned
      c*                  EvalR     ZoneOut=Zoned                                                       

       

Log in to post a comment.

MongoDB Logo MongoDB