- In the first format, string is a string expression;
n is an integer representing width of field.
- In the seconf format, n1 is a numeric expression;
n2 is an integer representing the width of field; n3 is the
number of decimal places to output with the number.
- In the first format, the function returns string right
justified within a field that has a width of n. If string is
longer than n, there is no truncation.
- In the second format, the function returns n1 right
justified in a field that has a width of n2. There will be n3
decimal places to the right of the decimal point.
[12 spaces preceding the 'S']
"$"_$J(PRESCRIPTION COST,8,2) =>
[3 spaces preceding the '2']
Reviewed/Updated: March 4, 2007