Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

The halfAdjust function allows you half adjust a number provided to the function.

Parameters
  1. Number
  2. Decimals
Examples
pjs.define("result2", { type: 'packed decimal', length: 15, decimals: 5 });
pjs.define("c15b", { type: 'char', length: 15, initValue: ' + 9 , 8 7 6 ' });

result2 = pjs.dech(c15b, 5, 2);
 
return result2;
//9.88
  • No labels