Link to home
Start Free TrialLog in
Avatar of morinia
moriniaFlag for United States of America

asked on

comparing numberic variables of unequal lengths in SAS

Experts,

I am reading a text file into SAS.  Field A on the text file is 5 bytes in length.  I am trying to compare it to a  table in SAS where the SAS table has it as 8 bytes in length.  The field has 3 decimal positions.

So even though both variables on the table have the same value i.e. 0.107  I am not getting an equal on the compare.

The text file I am reading in the field looks like this.  It is pipe delimited |0.107|.  Can someone tell me what I can do so that these two fields compare as equal.
ASKER CERTIFIED SOLUTION
Avatar of Ian
Ian
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial