As the first step in the decommissioning of sasCommunity.org the site has been converted to read-only mode.


Here are some tips for How to share your SAS knowledge with your professional network.


Tip of the Day:November 21

From sasCommunity
Jump to: navigation, search

sasCommunity Tip of the Day

PROC FORMAT;
    PICTURE POUNDB LOW-<0='000,000,000.00)' (PREFIX='(£')
                   0-HIGH='000,000,000.00 ' (PREFIX='£');
    PICTURE POUNDN LOW-<0='000,000,000.00' (PREFIX='-£')
                   0-HIGH='000,000,000.00' (PREFIX='£');
RUN;

In SAS, the default currency format used is dollars which might not be applicable to British pounds and Euro dollars.

To create such a format, we can use the code to the right.



Submitted by Murphy Choy. Contact me at my Discussion Page.



Feel free to comment on this tip.


Prior tip - Next tip - Random Tip

Submit a Tip