Editing modifiers can be used to modify the editing performed by the editing phrase letters D, E, F, I, J, R, and Z. Editing modifiers are valid only for output.
P Editing Modifier
The P editing modifier specifies that a comma (,) is to be inserted immediately to the left of every third digit left of the decimal point.
$ Editing Modifier
The $ editing modifier specifies that a dollar sign ($) is to be inserted immediately to the left of the output string.
Examples of P and $ Editing Modifiers
|
External String |
Editing Phrase |
Internal Value |
|---|---|---|
|
17.347 |
$F10.2 |
bbbb$17.35 |
|
–1234567 |
PI10 |
–1,234,567 |
|
–1234567 |
P$Z15.2 |
bbbb$–1,234,567 |
|
1234567.11111 |
PF15.5 |
1,234,567.11111 |
|
1234567.1234 |
$PR15.5 |
bbb$1.23457E+06 |
|
1234567.1234 |
$PR15.0 |
bbbb$1,234,567. |

