My data has '.' as decimal separator, but that's not the problem for me.
I want all outputs in SAS to use comma as decimal separator, and use dot as 3-digit separator, but I don't find a global option to do that.
I'm doing a PROC LOGISTIC and I want to show numbers with comma separator, no matter the format of the original data. Is that possible?
PROC LOGISTIC DATA=BD DESCENDING;
MODEL DESFECHO=IDADE /LINK=GLOGIT;
RUN;


Relevant options:
NLDECSEPARATOR option - tells SAS to respect the locale when deciding what separator to use
LOCALE option - tells SAS what country/etc. you're "in"
NLNUM format - one format that tells SAS to respect the locale
Different combinations of these will work... for example, this works:
As does this:
The key is the locale (which may well be already set at startup), and then one of the other options to tell SAS you care about the decimal.