%EDITW Function

%EDITW built-in function returns a character result representing the numeric value edited according to the edit word.

%EDITW (Numeric, Editword) 
        

Parameters

Numeric, Editword

Required. The rules for the Numeric value and Editword are identical to those for editing numeric values in output specifications.

Example

If the values of mySalary is 2451.53, and myEditWd is “ $,,Dollars Cents** “, then the edited version of mySalary * 12 is:

(amount = 'The annual salary is // + %editw (mySalary * 12 , myeditwd)

See Also

Built-in Function Overview

Edit Word Usage