Tip of the Day

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


 

Tips Index by Status

Currently in Use | Yet to be Scheduled | Still Under Review | Tip Awaiting Refinement

Search Tips:


The Tip of the Day Project

A new technical Tip of the Day related to SAS software will be shown on this page and the sasCommunity.org main page every day. Before getting started, you can Browse and Search the current list of tips contributed by users.

Anyone can participate. We hope you do! Here's how:

  1. Submit a Tip by posting a SAS tip that you think others might find useful
  2. Review a Tip prior to publishing
This effort is similar to, and was motivated by, the Wikipedia Tip of the Day Project. Please tell us what you think