Skip to Main Content
Base SAS 9.4 Procedures Guide, Third Edition
book

Base SAS 9.4 Procedures Guide, Third Edition

by SAS Institute
August 2014
Intermediate to advanced content levelIntermediate to advanced
2218 pages
209h 16m
English
SAS Institute
Content preview from Base SAS 9.4 Procedures Guide, Third Edition
the following PICTURE statement creates the MILLION. format, which formats the
variable value 1600000 as $1.6M:
picture million low-high='09.9M'
(prefix='$' mult=.00001);
1600000 is first multiplied by .00001, which equals 16. Note that there is a digit
selector after the decimal. The value 16 is placed into the picture beginning on the
right. The value 16 overlays 09.9, and results in 01.6. Leading zeros are dropped, and
the final result is 1.6M.
If the value of low-high is equal to '000M', then the result would be 16M.
Alias
MULT=
Default
10
n
, where n is the number of digits after the first decimal point in the
picture. For example, suppose your ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Base SAS 9.4 Procedures Guide, Second Edition

Base SAS 9.4 Procedures Guide, Second Edition

SAS Documentation
Oracle® Database 10g Insider Solutions

Oracle® Database 10g Insider Solutions

Arun Kumar R., John Kanagaraj, Richard Stroupe

Publisher Resources

ISBN: 9781629593043