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 2 Next »

Returns currency symbol, which is usually configured in the control options (header specs).

Return Value

Return value is a Dollar sign by default. Use the control options to assign a different currency value.

Example
pjs.define("salary", { type: 'packed decimal', length: 9, decimals: 2, initValue: 12000 });
pjs.define("output", { type: 'char', length: 34, varying: true });
 
output = pjs.editCode(salary, 'A', pjs.currencySymbol());
  • No labels