%EDITC built-in function returns a character result representing the numeric value edited according to the edit code.
%EDITC (NumericExpression, EditCode, {*ASTFill | *CURSYM | Currency-symbol})
Required. In general, the rules for the Numeric Expression and Edit Code parameters are identical to those for editing numeric values in output specifications.
When using the %EDITC built-in-function, you can only enter the alpha representation for the desired edit code. You cannot enter the numeric representation.
Optional. The third parameter is optional, and if specified, must be one of the following:
%EDITC(-0012.5 , 'K' , *ASTFill)returns '***12.5-'
%EDITC(0012.5 , 'K' , *CURSYM) returns // $12.5 //
%EDITC(0012.5 , 'K' , £') returns // £12.5 '
Built-in
Function Overview
Numeric Expression
Edit Code Usage