| Date: | Tue, 11 Aug 2009 09:02:29 -0500 |
| Reply-To: | "Data _null_;" <iebupdte@GMAIL.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | "Data _null_;" <iebupdte@GMAIL.COM> |
| Subject: | Re: PROC SQL weirdness |
|
| In-Reply-To: | <1b2f75c0-d6c8-418d-bd50-e929e4da79d3@g31g2000yqc.googlegroups.com> |
| Content-Type: | text/plain; charset=ISO-8859-1 |
On 8/11/09, Pinux <xflotmas@gmail.com> wrote:
> The variable X has only integer values
The values may look like integers when displayed with standard
formatting but the values may not be integers.
data test;
x = 10;
y = x + 1e-8;
if x eq y then equal = 'y';
run;
proc sql;
select *,x format=hex16., y format=hex16. from test;
quit;
run;
|