Return configured currency symbol.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
Code Block | ||
---|---|---|
| ||
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()); |