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

« Previous Version 4 Next »

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

Parameters
  1. Number
  2. Number of decimals in result value
Examples
pjs.define("num", { type: 'packed decimal', length: 15, decimals: 5 });

num = 9.876;
num = Number.halfAjust(num, 2);
 
return result2;
//9.88
  • No labels