| Date: | Thu, 14 Oct 1999 11:53:46 -0400 |
| Reply-To: | Wanda Upole <WUpole@NABI.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | Wanda Upole <WUpole@NABI.COM> |
| Subject: | Re: Simple (I think) Truncating Question |
|
| Content-Type: | text/plain; charset=US-ASCII |
Try using the PICTURE statement in PROC FORMAT, which truncates by
default. For example,
proc format;
picture truncit low - high = "000009.99";
run;
Then add a format statement to your PROC REPORT code assigning the
variables to the new format:
format <variable list> truncit.;
>>> cjs46692 <cjs46692@GLAXOWELLCOME.COM> 10/14/99 10:09AM >>>
I have a program that has several tables generated by proc report. There
are no calculations involved, it only prints results. The problem is, I
want to display the results as truncated numbers with 2 or 3 decimal
places. It seems everything I try rounds the number (format, etc). Any
help would be appreciated.
Thanks!
Carol
|