Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


Code Block
pjs.define("c1", { type: 'char', length: 15, initValue: ' 12345.6789 +' });
pjs.define("p1", { type: 'packed decimal', length: 15, decimals: 5 });

p1 = pjs.unsignedInt(c1);
 
return p1;
//12345.00000

 


RPG Equivalent 

%UNS()