Compiled by Prajitha Nair
We have a column in proc report with either 1 or 2 digits right of the decimal and an uncertain number of digits to the left. For enhanced output, the values have to be presented such that they are aligned with respect to the decimal point.
When the display value contains a decimal point, we can use just=dec to align the numbers directly. The JUST=DEC option can be used to align the decimal points in the values in a column
define colname / display "Column/header" style=[just=dec];
where colname is the name of the column name as specified in the SAS.
If we are using ods rtf tags then we can use the pretext option for the purpose
define colname /display “Column Header”
style(column)={pretext="\qj\tqdec\tx1200" protectspecialchars=off just=center};
No comments:
Post a Comment