Versions Compared

Key

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

...

Example 2: Zoned -> Packed


 

Code Block
pjs.define("z1", { type: 'decimal', length: 9, decimals: 5, initValue: 73.73442 });
pjs.define("p1", { type: 'packed decimal', length: 15, decimals: 5 });

p1 = pjs.parseInt(z1);
 
return p1;
//73.00000
 


RPG Equivalent 

%INT()