Link to home
Start Free TrialLog in
Avatar of sonmic
sonmic

asked on

European notation on a SAS-dataset

Hi,

I have a SAS-dataset with many numeric values. They have all the American notation. Can i change this to European notation with a function (1,345.89 ---> 1.345,89)?

Tx
Avatar of theartfuldazzler
theartfuldazzler
Flag of South Africa image

Hi

Use the format "COMMAX.";

ie:

DATA _NULL_;

x = 1345.89;
PUT x= COMMAX10.2;
PUT x= COMMA10.2;
RUN;
ASKER CERTIFIED SOLUTION
Avatar of radevo
radevo

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial