How exactly does decimal alignment work? In particular for character variables that contain percents like:
nn ( pp%) |
60 ( 60%) |
40 ( 40%) |
Is it searching for the decimal from left-to-right then aligns on it? Or, is it searching from right to left? Will other symbols cause trouble like ( and %? What if there is not "." at all? Looking for some general information on how just=d works in a DEFINE statement of proc report.
style(column)={just=d}
I'm going to go out on a limb and suggest that decimal alignment only works with numeric values. Since a character value could look like:
"12. abc. 3.4" which of the three decimals would be aligned?
Also for National Language Support issues a "decimal alignment" should be able to use the comma when that is the decimal separator.
From some documentation on ODS language statements:
ODS DECIMAL_ALIGN Statement
Controls the justification of numeric columns when no justification is specified.
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.