I am performing a basic proc compare:
PROC COMPARE BASE=dset1
COMPARE=dset2 LISTALL;
ID description;
RUN;
I am getting differences for some numeric variables when the values in the two datasets are exactly the same.
For example,
dset1.variable1 = 1.0988718715
dset2.variable1 = 1.0988718715
The proc compare has the following displayed for variable1:
Base Compare Diff.
1.0989 1.0989 -1.07E-13
I removed all formats and informats from the base and compare datasets and the length of variable1 is the same in both datasets.
Why is there a difference when the value is exactly the same?